aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2020-08-03Merge branch 'master' of github:djpohly/dwl into masterDevin J. Pohly-1/+1
2020-08-03Merge pull request #25 from geistesk/error-maybe-uninitializedDevin J. Pohly-1/+1
getatom: fix potential uninitialized atom variable
2020-08-03add some more hands-off protocolsDevin J. Pohly-0/+4
2020-08-02fix an editing mistakeDevin J. Pohly-5/+5
2020-08-02focusclient checks whether oldsel == selDevin J. Pohly-7/+2
No need to do it outside the call.
2020-08-02refactor focusclientDevin J. Pohly-7/+12
2020-08-02abcDevin J. Pohly-11/+11
2020-08-02convert lastfocused() to focustop(m)Devin J. Pohly-9/+9
2020-08-02pass previous focus to focusclientDevin J. Pohly-14/+16
2020-08-02remove surface from focusclient functionDevin J. Pohly-31/+17
Honestly not sure why a specific surface is focused rather than the client figuring that out. Seems to work in a quick test, but we can remember this commit if something breaks for, I dunno, mouse people.
2020-08-02C99 doesn't support anonymous unionsDevin J. Pohly-44/+44
I'm cool with ->surface.xdg instead of ->xdg_surface though.
2020-08-02make setmon a bit more straightforwardDevin J. Pohly-6/+6
2020-08-01remove unneeded variableDevin J. Pohly-2/+1
2020-07-31simplify pointerfocusDevin J. Pohly-8/+8
Similar to focusclient
2020-07-31simplify focusclientDevin J. Pohly-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.
2020-07-31remove now-unused variables in focusclientDevin J. Pohly-11/+8
2020-07-31add tag bitset check from dwmDevin J. Pohly-0/+3
2020-07-31getatom: fix potential uninitialized atom variableAlvar Penning-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.
2020-07-30attach_render and commit are all that's neededDevin J. Pohly-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
2020-07-30style fixesDevin J. Pohly-10/+5
2020-07-30do not render frames when any surface has uncommitted resizesAlexander Courtis-4/+36
2020-07-29tidy activate notify resourceAlexander Courtis-0/+2
2020-07-26make border color selection conciseDevin J. Pohly-5/+2
2020-07-26Add support to change focused window's border colorMichael Cardell Widerkrantz-2/+9
2020-07-25remove client.isx11 in favor of client.typeDevin J. Pohly-14/+12
2020-07-25ok, treat it like an enumDevin J. Pohly-1/+2
2020-07-25do managed/unmanaged check in map and unmapDevin J. Pohly-30/+14
2020-07-25do managed check in activatex11Devin J. Pohly-4/+4
2020-07-25add client.type fieldDevin J. Pohly-1/+5
Current options are XDGShell, X11Managed, and X11Unmanaged.
2020-07-25rename activate to activatex11 for consistencyDevin J. Pohly-3/+3
2020-07-25clarify createnotifyx11 functionDevin J. Pohly-3/+7
2020-07-25xwayland: unmanaged (dropdown menu) supportAlexander Courtis-5/+134
2020-07-24remove n counter from zoom(), add commentsDevin J. Pohly-8/+11
2020-07-24Add zoomGuido Cella-0/+30
2020-07-23fix WLR_SURFACE macroDevin J. Pohly-1/+1
2020-07-23don't double-add new monitor to monsDevin J. Pohly-2/+1
this was a copy/paste error
2020-07-23add cleanup listener for keyboardsDevin J. Pohly-0/+14
2020-07-23add monitor destroy listenerDevin J. Pohly-1/+17
2020-07-23reorder teardownsDevin J. Pohly-1/+3
2020-07-23fix more unfreed memoryDevin J. Pohly-0/+1
2020-07-23output_layout_manager not auto-destroyedDevin J. Pohly-0/+1
2020-07-23xcursor_manager is not automatically destroyedDevin J. Pohly-0/+1
2020-07-23Add killclientGuido Cella-0/+14
2020-07-22let xdg be the plain "createnotify"Devin J. Pohly-6/+6
use x11 suffix for other function to match isx11, also shorter
2020-07-21xwayland is the exceptional case, let xdg be 0Devin J. Pohly-32/+31
2020-07-21condense appid/title logicDevin J. Pohly-11/+8
2020-07-21fix segfault on xwayland "appid"Devin J. Pohly-0/+2
2020-07-21xwayland: add server and basic window functionality (#10)Alexander Courtis-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
2020-07-02Add repeat delay and repeat rate to config.h (#13)Lauri Gustafsson-1/+1
2020-06-15clear correct focus on keyboard leaveDevin J. Pohly-1/+1