summaryrefslogtreecommitdiffstats
path: root/dwl.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-23set up interfaces in same order as swayv0.1Devin J. Pohly1-1/+1
This makes it easier to compare WAYLAND_DEBUG logs when troubleshooting.
2020-08-22enable gamma controlGuido Cella1-0/+2
2020-08-19cleanup function to match dwmDevin J. Pohly1-17/+20
2020-08-19fix usage to matchDevin J. Pohly1-1/+1
2020-08-19we're not really using the logDevin J. Pohly1-20/+4
2020-08-19this is technically barf too I guess?Devin J. Pohly1-2/+1
2020-08-19only call updatewindowtype for x11 windowsDevin J. Pohly1-9/+7
2020-08-18handle NULL return from backend_autocreateDevin J. Pohly1-1/+2
Fixes #44.
2020-08-18add macro for fatal errorsDevin J. Pohly1-30/+14
dwm lets the OS do cleanup if the program errors out
2020-08-18Use SIGCHLD handler from dwmDevin J. Pohly1-0/+15
Fixes #46.
2020-08-16make this marginally less uglyDevin J. Pohly1-3/+2
2020-08-16wlr_session_change_vt is NULL safeDevin J. Pohly1-4/+1
2020-08-16_net_wm not needed outside xwaylandDevin J. Pohly1-1/+1
2020-08-15Declare commitnotifyGuido Cella1-0/+1
2020-08-10make XWayland support optionalDevin J. Pohly1-130/+182
2020-08-09#31 independents retain focus while mouse is over themAlexander Courtis1-1/+3
2020-08-09#31 independents retain focus while mouse is over themAlexander Courtis1-6/+4
2020-08-06#31 independents retain focus while mouse is over themAlexander Courtis1-1/+1
2020-08-06#31 independents retain focus while mouse is over themAlexander Courtis1-4/+32
2020-08-03add monocle layoutDevin J. Pohly1-0/+13
2020-08-03condense getatom and add note about error returnDevin J. Pohly1-4/+3
2020-08-03add some more hands-off protocolsDevin J. Pohly1-0/+4
2020-08-02fix an editing mistakeDevin J. Pohly1-5/+5
2020-08-02focusclient checks whether oldsel == selDevin J. Pohly1-7/+2
No need to do it outside the call.
2020-08-02refactor focusclientDevin J. Pohly1-7/+12
2020-08-02abcDevin J. Pohly1-11/+11
2020-08-02convert lastfocused() to focustop(m)Devin J. Pohly1-9/+9
2020-08-02pass previous focus to focusclientDevin J. Pohly1-14/+16
2020-08-02remove surface from focusclient functionDevin J. Pohly1-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. Pohly1-44/+44
I'm cool with ->surface.xdg instead of ->xdg_surface though.
2020-08-02make setmon a bit more straightforwardDevin J. Pohly1-6/+6
2020-08-01remove unneeded variableDevin J. Pohly1-2/+1
2020-07-31simplify pointerfocusDevin J. Pohly1-8/+8
Similar to focusclient
2020-07-31simplify focusclientDevin J. Pohly1-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. Pohly1-11/+8
2020-07-31add tag bitset check from dwmDevin J. Pohly1-0/+3
2020-07-31getatom: fix potential uninitialized atom variableAlvar Penning1-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. Pohly1-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. Pohly1-10/+5
2020-07-30do not render frames when any surface has uncommitted resizesAlexander Courtis1-4/+36
2020-07-29tidy activate notify resourceAlexander Courtis1-0/+2
2020-07-26make border color selection conciseDevin J. Pohly1-5/+2
2020-07-26Add support to change focused window's border colorMichael Cardell Widerkrantz1-2/+9
2020-07-25remove client.isx11 in favor of client.typeDevin J. Pohly1-14/+12
2020-07-25ok, treat it like an enumDevin J. Pohly1-1/+2
2020-07-25do managed/unmanaged check in map and unmapDevin J. Pohly1-30/+14
2020-07-25do managed check in activatex11Devin J. Pohly1-4/+4
2020-07-25add client.type fieldDevin J. Pohly1-1/+5
Current options are XDGShell, X11Managed, and X11Unmanaged.
2020-07-25rename activate to activatex11 for consistencyDevin J. Pohly1-3/+3
2020-07-25clarify createnotifyx11 functionDevin J. Pohly1-3/+7