xwayland is the exceptional case, let xdg be 0
update README to reflect work on XWayland
condense appid/title logic
fix segfault on xwayland "appid"
xwayland: add server and basic window functionality (#10)
* xwayland: add server and basic window functionality
* xwayland: add server and basic window functionality
* xwayland: add server and basic window functionality
* xwayland: add server and basic window functionality
Add repeat delay and repeat rate to config.h (#13)
note wlroots-git requirement
Fixes #9.
clear correct focus on keyboard leave
Don't pass NULL surfaces to wlr focus functions (#8)
Turns out that this will hit asserts that will abort dwl.
Revert to @arp242's suggestion
because directory permissions
Handle missing XDG_RUNTIME_DIR explicitly
Also update the documentation to indicate that this is a Wayland thing
and not dwl-specific.
move perrors earlier
Should come right after the erroring call so nothing else has a chance
to overwrite errno
Add startup errors, mention XDG_RUNTIME_DIR in README
It was just exiting with code 1 for me. The problem turned out to be
that you *need* to set XDG_RUNTIME_DIR or it won't work (I think e.g.
systemd does that for you, but on Void it's not set by default), so
mention that in the README.
send xdg_decoration configure right after create
Thanks to @cedws for pointing this out!
Implement xdg-decoration protocol
Applications like alacritty which use this newer protocol will no longer
attempt to draw their own decoration.
Write something more intuitive for focusclient()
switch default term to alacritty
make sure freed listeners are removed from list
remember export-dmabuf for when it's fixed in wlr