aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* getatom: fix potential uninitialized atom variableAlvar Penning2020-07-311-1/+1
| | | | | | | The getatom function returns the atom variable, which is only initialized in case of a success. This results in a maybe-uninitialized warning/error. After this commit, now a zero value is returned in case of error.
* make border color selection conciseDevin J. Pohly2020-07-261-5/+2
|
* Add support to change focused window's border colorMichael Cardell Widerkrantz2020-07-261-2/+9
|
* remove client.isx11 in favor of client.typeDevin J. Pohly2020-07-251-14/+12
|
* ok, treat it like an enumDevin J. Pohly2020-07-251-1/+2
|
* do managed/unmanaged check in map and unmapDevin J. Pohly2020-07-251-30/+14
|
* do managed check in activatex11Devin J. Pohly2020-07-251-4/+4
|
* add client.type fieldDevin J. Pohly2020-07-251-1/+5
| | | | Current options are XDGShell, X11Managed, and X11Unmanaged.
* rename activate to activatex11 for consistencyDevin J. Pohly2020-07-251-3/+3
|
* clarify createnotifyx11 functionDevin J. Pohly2020-07-251-3/+7
|
* xwayland: unmanaged (dropdown menu) supportAlexander Courtis2020-07-251-5/+134
|
* remove n counter from zoom(), add commentsDevin J. Pohly2020-07-241-8/+11
|
* Add zoomGuido Cella2020-07-241-0/+30
|
* fix WLR_SURFACE macroDevin J. Pohly2020-07-231-1/+1
|
* don't double-add new monitor to monsDevin J. Pohly2020-07-231-2/+1
| | | | this was a copy/paste error
* add cleanup listener for keyboardsDevin J. Pohly2020-07-231-0/+14
|
* add monitor destroy listenerDevin J. Pohly2020-07-231-1/+17
|
* reorder teardownsDevin J. Pohly2020-07-231-1/+3
|
* fix more unfreed memoryDevin J. Pohly2020-07-231-0/+1
|
* output_layout_manager not auto-destroyedDevin J. Pohly2020-07-231-0/+1
|
* xcursor_manager is not automatically destroyedDevin J. Pohly2020-07-231-0/+1
|
* Add killclientGuido Cella2020-07-231-0/+14
|
* let xdg be the plain "createnotify"Devin J. Pohly2020-07-221-6/+6
| | | | use x11 suffix for other function to match isx11, also shorter
* 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
|