aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* xwayland is the exceptional case, let xdg be 0Devin J. Pohly2020-07-211-32/+31
|
* condense appid/title logicDevin J. Pohly2020-07-211-11/+8
|
* fix segfault on xwayland "appid"Devin J. Pohly2020-07-211-0/+2
|
* xwayland: add server and basic window functionality (#10)Alexander Courtis2020-07-211-35/+125
| | | | | | | | | * 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)Lauri Gustafsson2020-07-021-1/+1
|
* clear correct focus on keyboard leaveDevin J. Pohly2020-06-151-1/+1
|
* Don't pass NULL surfaces to wlr focus functions (#8)Shugyousha2020-06-141-3/+11
| | | Turns out that this will hit asserts that will abort dwl.
* Handle missing XDG_RUNTIME_DIR explicitlyDevin J. Pohly2020-06-071-0/+7
| | | | | Also update the documentation to indicate that this is a Wayland thing and not dwl-specific.
* move perrors earlierDevin J. Pohly2020-06-071-2/+2
| | | | | Should come right after the erroring call so nothing else has a chance to overwrite errno
* Add startup errors, mention XDG_RUNTIME_DIR in READMEMartin Tournoij2020-06-071-0/+2
| | | | | | | 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 createDevin J. Pohly2020-06-071-2/+3
| | | | Thanks to @cedws for pointing this out!
* Implement xdg-decoration protocolDevin J. Pohly2020-06-041-0/+48
| | | | | Applications like alacritty which use this newer protocol will no longer attempt to draw their own decoration.
* Write something more intuitive for focusclient()Devin J. Pohly2020-06-031-34/+33
|
* document -qvd optionsDevin J. Pohly2020-06-031-6/+7
|
* make sure freed listeners are removed from listDevin J. Pohly2020-05-101-0/+3
|
* add output manager protocolDevin J. Pohly2020-05-091-0/+2
|
* add screencopy supportDevin J. Pohly2020-05-091-0/+2
| | | | While we're taking low-hanging fruit here...
* add primary selection support too!Devin J. Pohly2020-05-091-11/+29
|
* handle request set selectionDevin J. Pohly2020-05-091-1/+18
| | | | Ported from wlroots commit fa5d709
* use wlr_xdg_surface.set_tiled correctlyDevin J. Pohly2020-05-091-1/+2
| | | | | Closes #2. I'm guessing from sway that the idea of setting maximized state so that windows cooperate is superseded by using set_tiled.
* initialize global listeners staticallyDevin J. Pohly2020-05-091-20/+12
|
* abcDevin J. Pohly2020-05-031-9/+9
|
* remove vestigial listenersDevin J. Pohly2020-05-031-2/+0
|
* no need for a line split hereDevin J. Pohly2020-05-031-2/+1
|
* no conditional needed for output modesDevin J. Pohly2020-05-031-13/+9
| | | | | If the output backend doesn't support modes, get_preferred_mode will return NULL, and set_mode will accept NULL.
* use strstr for monrulesDevin J. Pohly2020-05-031-1/+1
|
* add reminder commentDevin J. Pohly2020-05-031-0/+1
|
* inline xytosurfaceDevin J. Pohly2020-05-031-27/+9
|
* split xytoclient and xytosurfaceDevin J. Pohly2020-05-031-26/+32
|
* styleDevin J. Pohly2020-05-031-2/+1
|
* refocus -> lastfocusedDevin J. Pohly2020-05-031-21/+17
|
* raise client on refocusDevin J. Pohly2020-05-031-2/+2
| | | | | Might revisit this later, but this currently seems like the right strategy.
* add client rulesDevin J. Pohly2020-05-031-7/+48
|
* allow setmon to specify alternate tagsDevin J. Pohly2020-05-031-6/+6
|
* loop over array pointers directlyDevin J. Pohly2020-05-031-22/+20
|
* includes: abcDevin J. Pohly2020-05-021-5/+5
|
* set default cursor over window bordersDevin J. Pohly2020-05-021-3/+3
|
* sacrifice 24 lines to suckless style :)Devin J. Pohly2020-05-021-54/+78
|
* allow passing NULLs to xytoclientDevin J. Pohly2020-05-021-8/+6
| | | | | For sx/sy, these are handled by the underlying call to wlr_surface_surface_at.
* remove outdated/fixed commentDevin J. Pohly2020-05-021-1/+0
|
* style: int instead of boolDevin J. Pohly2020-05-021-11/+10
|
* correct standard include for signal.hDevin J. Pohly2020-05-021-1/+1
| | | | Fixes #1. Thanks @sdsddsd1!
* include border in xytoclientDevin J. Pohly2020-04-301-24/+16
| | | | | | 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.
* allow NULL surface with client in focus functionsDevin J. Pohly2020-04-301-1/+4
|
* make move-grab coords client-relativeDevin J. Pohly2020-04-301-4/+6
|
* unify movemouse/resizemouseDevin J. Pohly2020-04-301-26/+16
|
* fix a long lineDevin J. Pohly2020-04-261-1/+2
|
* wait to get window geometry until map timeDevin J. Pohly2020-04-261-3/+3
|
* use wlr_box for client geometryDevin J. Pohly2020-04-261-35/+33
|
* call arrange only where neededDevin J. Pohly2020-04-261-8/+18
| | | | | A few of these could probably even be more specific, but this is where dwm's calls are.