aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | simplify focusclientDevin J. Pohly2020-07-311-49/+34
| | | | | | | | | | | | | | This arranges the function into some logical tasks: deactivate the old client, update wlroots' keyboard focus, update our data structures, and activate the new client. The last two only need to be done when focusing something new, so an early return saves some horizontal space.
* | remove now-unused variables in focusclientDevin J. Pohly2020-07-311-11/+8
| |
* | add tag bitset check from dwmDevin J. Pohly2020-07-311-0/+3
| |
* | attach_render and commit are all that's neededDevin J. Pohly2020-07-301-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | attach_render tells the output that a "new" buffer has been prepared (even if we haven't changed it). We need to call that and then commit it to keep the render loop going. Software cursors will freeze momentarily during layout updates, but I suspect that this is not as easily fixed as it sounds. You can force software cursors by running: WLR_NO_HARDWARE_CURSORS=1 ./dwl
* | style fixesDevin J. Pohly2020-07-301-10/+5
| |
* | do not render frames when any surface has uncommitted resizesAlexander Courtis2020-07-301-4/+36
| |
* | tidy activate notify resourceAlexander Courtis2020-07-291-0/+2
|/
* 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
|