summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2020-09-05isfullscreen intStivvo
2020-09-05Same fscreen func for xdg and xwaylandStivvo
2020-09-05Fullscreen xwaylandStivvo
2020-09-05Unlink fullscreenStivvo
2020-09-04Restore windows after fullscreenStivvo
Store position and size of windows before going fullscreen. This is more efficient than arrange() and also works with floating windows All the clients keep their original position because arrange() isn't used after quitting fullscreen
2020-09-04No borders on fullscreen windowsStivvo
Some code has been borrowed from the smartBorders patch
2020-09-04Toggle fullscreenStivvo
2020-09-04Basic fullscreenStivvo
2020-08-23set up interfaces in same order as swayDevin J. Pohly
This makes it easier to compare WAYLAND_DEBUG logs when troubleshooting.
2020-08-22enable gamma controlGuido Cella
2020-08-19cleanup function to match dwmDevin J. Pohly
2020-08-19fix usage to matchDevin J. Pohly
2020-08-19we're not really using the logDevin J. Pohly
2020-08-19this is technically barf too I guess?Devin J. Pohly
2020-08-19only call updatewindowtype for x11 windowsDevin J. Pohly
2020-08-18handle NULL return from backend_autocreateDevin J. Pohly
Fixes #44.
2020-08-18add macro for fatal errorsDevin J. Pohly
dwm lets the OS do cleanup if the program errors out
2020-08-18Use SIGCHLD handler from dwmDevin J. Pohly
Fixes #46.
2020-08-16make this marginally less uglyDevin J. Pohly
2020-08-16wlr_session_change_vt is NULL safeDevin J. Pohly
2020-08-16_net_wm not needed outside xwaylandDevin J. Pohly
2020-08-16Merge pull request #37 from alex-courtis/31-independents-mouse-focusDevin J. Pohly
31 independents mouse focus
2020-08-15Declare commitnotifyGuido Cella
2020-08-11Merge branch 'master' into 31-independents-mouse-focusAlexander Courtis
2020-08-10make XWayland support optionalDevin J. Pohly
2020-08-09#31 independents retain focus while mouse is over themAlexander Courtis
2020-08-09#31 independents retain focus while mouse is over themAlexander Courtis
2020-08-06#31 independents retain focus while mouse is over themAlexander Courtis
2020-08-06#31 independents retain focus while mouse is over themAlexander Courtis
2020-08-03add monocle layoutDevin J. Pohly
2020-08-03condense getatom and add note about error returnDevin J. Pohly
2020-08-03Merge branch 'master' of github:djpohly/dwl into masterDevin J. Pohly
2020-08-03Merge pull request #25 from geistesk/error-maybe-uninitializedDevin J. Pohly
getatom: fix potential uninitialized atom variable
2020-08-03add some more hands-off protocolsDevin J. Pohly
2020-08-02fix an editing mistakeDevin J. Pohly
2020-08-02focusclient checks whether oldsel == selDevin J. Pohly
No need to do it outside the call.
2020-08-02refactor focusclientDevin J. Pohly
2020-08-02abcDevin J. Pohly
2020-08-02convert lastfocused() to focustop(m)Devin J. Pohly
2020-08-02pass previous focus to focusclientDevin J. Pohly
2020-08-02remove surface from focusclient functionDevin J. Pohly
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
I'm cool with ->surface.xdg instead of ->xdg_surface though.
2020-08-02make setmon a bit more straightforwardDevin J. Pohly
2020-08-01remove unneeded variableDevin J. Pohly
2020-07-31simplify pointerfocusDevin J. Pohly
Similar to focusclient
2020-07-31simplify focusclientDevin J. Pohly
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
2020-07-31add tag bitset check from dwmDevin J. Pohly
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