aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2020-08-28Reuse render() and struct timespec *nowGuido Cella-36/+14
2020-08-27reuse m->mGuido Cella-4/+1
2020-08-27remove commentGuido Cella-2/+0
wlr_output_layout_get_box internally calls wlr_output_effective_resolution
2020-08-27set a monitor geometry only when creating itGuido Cella-3/+4
Lets layers with an exclusive area shrink the usable area
2020-08-27render in the same order as swayGuido Cella-2/+2
2020-08-26correct variable nameGuido Cella-1/+1
2020-08-26rename functions tooGuido Cella-19/+19
2020-08-26remove extra spaceGuido Cella-1/+1
2020-08-26render layer surfacesGuido Cella-0/+43
2020-08-26improve namingGuido Cella-62/+63
rename Layer to LayerSurface; layer should refer to overlay, top, bottom or background LayerSurface variables are always called layersurface wlr_layer_surface_v1 variables are always called wlr_layer_surface
2020-08-24layer shell initial attemptGuido Cella-0/+365
2020-08-23set up interfaces in same order as swayDevin J. Pohly-1/+1
This makes it easier to compare WAYLAND_DEBUG logs when troubleshooting.
2020-08-22enable gamma controlGuido Cella-0/+2
2020-08-19cleanup function to match dwmDevin J. Pohly-17/+20
2020-08-19fix usage to matchDevin J. Pohly-1/+1
2020-08-19we're not really using the logDevin J. Pohly-20/+4
2020-08-19this is technically barf too I guess?Devin J. Pohly-2/+1
2020-08-19only call updatewindowtype for x11 windowsDevin J. Pohly-9/+7
2020-08-18handle NULL return from backend_autocreateDevin J. Pohly-1/+2
Fixes #44.
2020-08-18add macro for fatal errorsDevin J. Pohly-30/+14
dwm lets the OS do cleanup if the program errors out
2020-08-18Use SIGCHLD handler from dwmDevin J. Pohly-0/+15
Fixes #46.
2020-08-16make this marginally less uglyDevin J. Pohly-3/+2
2020-08-16wlr_session_change_vt is NULL safeDevin J. Pohly-4/+1
2020-08-16_net_wm not needed outside xwaylandDevin J. Pohly-1/+1
2020-08-16Merge pull request #37 from alex-courtis/31-independents-mouse-focusDevin J. Pohly-0/+38
31 independents mouse focus
2020-08-15Declare commitnotifyGuido Cella-0/+1
2020-08-11Merge branch 'master' into 31-independents-mouse-focusAlexander Courtis-153/+215
2020-08-10make XWayland support optionalDevin J. Pohly-130/+182
2020-08-09#31 independents retain focus while mouse is over themAlexander Courtis-1/+3
2020-08-09#31 independents retain focus while mouse is over themAlexander Courtis-6/+4
2020-08-06#31 independents retain focus while mouse is over themAlexander Courtis-1/+1
2020-08-06#31 independents retain focus while mouse is over themAlexander Courtis-4/+32
2020-08-03add monocle layoutDevin J. Pohly-0/+13
2020-08-03condense getatom and add note about error returnDevin J. Pohly-4/+3
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