summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2020-06-14Don't pass NULL surfaces to wlr focus functions (#8)Shugyousha
Turns out that this will hit asserts that will abort dwl.
2020-06-07Handle missing XDG_RUNTIME_DIR explicitlyDevin J. Pohly
Also update the documentation to indicate that this is a Wayland thing and not dwl-specific.
2020-06-07move perrors earlierDevin J. Pohly
Should come right after the erroring call so nothing else has a chance to overwrite errno
2020-06-07Add startup errors, mention XDG_RUNTIME_DIR in READMEMartin Tournoij
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.
2020-06-07send xdg_decoration configure right after createDevin J. Pohly
Thanks to @cedws for pointing this out!
2020-06-04Implement xdg-decoration protocolDevin J. Pohly
Applications like alacritty which use this newer protocol will no longer attempt to draw their own decoration.
2020-06-03Write something more intuitive for focusclient()Devin J. Pohly
2020-06-03document -qvd optionsDevin J. Pohly
2020-05-10make sure freed listeners are removed from listDevin J. Pohly
2020-05-09add output manager protocolDevin J. Pohly
2020-05-09add screencopy supportDevin J. Pohly
While we're taking low-hanging fruit here...
2020-05-09add primary selection support too!Devin J. Pohly
2020-05-09handle request set selectionDevin J. Pohly
Ported from wlroots commit fa5d709
2020-05-09use wlr_xdg_surface.set_tiled correctlyDevin J. Pohly
Closes #2. I'm guessing from sway that the idea of setting maximized state so that windows cooperate is superseded by using set_tiled.
2020-05-09initialize global listeners staticallyDevin J. Pohly
2020-05-03abcDevin J. Pohly
2020-05-03remove vestigial listenersDevin J. Pohly
2020-05-03no need for a line split hereDevin J. Pohly
2020-05-03no conditional needed for output modesDevin J. Pohly
If the output backend doesn't support modes, get_preferred_mode will return NULL, and set_mode will accept NULL.
2020-05-03use strstr for monrulesDevin J. Pohly
2020-05-03add reminder commentDevin J. Pohly
2020-05-03inline xytosurfaceDevin J. Pohly
2020-05-03split xytoclient and xytosurfaceDevin J. Pohly
2020-05-03styleDevin J. Pohly
2020-05-03refocus -> lastfocusedDevin J. Pohly
2020-05-03raise client on refocusDevin J. Pohly
Might revisit this later, but this currently seems like the right strategy.
2020-05-03add client rulesDevin J. Pohly
2020-05-03allow setmon to specify alternate tagsDevin J. Pohly
2020-05-03loop over array pointers directlyDevin J. Pohly
2020-05-02includes: abcDevin J. Pohly
2020-05-02set default cursor over window bordersDevin J. Pohly
2020-05-02sacrifice 24 lines to suckless style :)Devin J. Pohly
2020-05-02allow passing NULLs to xytoclientDevin J. Pohly
For sx/sy, these are handled by the underlying call to wlr_surface_surface_at.
2020-05-02remove outdated/fixed commentDevin J. Pohly
2020-05-02style: int instead of boolDevin J. Pohly
2020-05-02correct standard include for signal.hDevin J. Pohly
Fixes #1. Thanks @sdsddsd1!
2020-04-30include border in xytoclientDevin J. Pohly
If there isn't an actual surface under the cursor, *surface will be set to NULL, which is safe now that focus functions handle a NULL surface safely.
2020-04-30allow NULL surface with client in focus functionsDevin J. Pohly
2020-04-30make move-grab coords client-relativeDevin J. Pohly
2020-04-30unify movemouse/resizemouseDevin J. Pohly
2020-04-26fix a long lineDevin J. Pohly
2020-04-26wait to get window geometry until map timeDevin J. Pohly
2020-04-26use wlr_box for client geometryDevin J. Pohly
2020-04-26call arrange only where neededDevin J. Pohly
A few of these could probably even be more specific, but this is where dwm's calls are.
2020-04-26funnel isfloating changes through setfloating()Devin J. Pohly
2020-04-26move comment where it's more relevantDevin J. Pohly
2020-04-26mouse move now changes window monitorDevin J. Pohly
2020-04-26options to select log levelDevin J. Pohly
2020-04-26rename keyboardfocus() to focusclient()Devin J. Pohly
2020-04-26integrate raiseclient into keyboardfocusDevin J. Pohly