summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2020-07-31getatom: fix potential uninitialized atom variableAlvar Penning
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.
2020-07-30attach_render and commit are all that's neededDevin J. Pohly
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
2020-07-30style fixesDevin J. Pohly
2020-07-30do not render frames when any surface has uncommitted resizesAlexander Courtis
2020-07-29tidy activate notify resourceAlexander Courtis
2020-07-26make border color selection conciseDevin J. Pohly
2020-07-26Add support to change focused window's border colorMichael Cardell Widerkrantz
2020-07-25remove client.isx11 in favor of client.typeDevin J. Pohly
2020-07-25ok, treat it like an enumDevin J. Pohly
2020-07-25do managed/unmanaged check in map and unmapDevin J. Pohly
2020-07-25do managed check in activatex11Devin J. Pohly
2020-07-25add client.type fieldDevin J. Pohly
Current options are XDGShell, X11Managed, and X11Unmanaged.
2020-07-25rename activate to activatex11 for consistencyDevin J. Pohly
2020-07-25clarify createnotifyx11 functionDevin J. Pohly
2020-07-25xwayland: unmanaged (dropdown menu) supportAlexander Courtis
2020-07-24remove n counter from zoom(), add commentsDevin J. Pohly
2020-07-24Add zoomGuido Cella
2020-07-23fix WLR_SURFACE macroDevin J. Pohly
2020-07-23don't double-add new monitor to monsDevin J. Pohly
this was a copy/paste error
2020-07-23add cleanup listener for keyboardsDevin J. Pohly
2020-07-23add monitor destroy listenerDevin J. Pohly
2020-07-23reorder teardownsDevin J. Pohly
2020-07-23fix more unfreed memoryDevin J. Pohly
2020-07-23output_layout_manager not auto-destroyedDevin J. Pohly
2020-07-23xcursor_manager is not automatically destroyedDevin J. Pohly
2020-07-23Add killclientGuido Cella
2020-07-22let xdg be the plain "createnotify"Devin J. Pohly
use x11 suffix for other function to match isx11, also shorter
2020-07-21xwayland is the exceptional case, let xdg be 0Devin J. Pohly
2020-07-21condense appid/title logicDevin J. Pohly
2020-07-21fix segfault on xwayland "appid"Devin J. Pohly
2020-07-21xwayland: add server and basic window functionality (#10)Alexander Courtis
* 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
2020-07-02Add repeat delay and repeat rate to config.h (#13)Lauri Gustafsson
2020-06-15clear correct focus on keyboard leaveDevin J. Pohly
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