aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2020-12-24Change fullscreen policiesStivvo-25/+30
When a new client is spawned, fullscreen isn't disabled for all clients in that monitor any more. Instead, all fullscreen clients are kept fullscreen, while other clients spawn in the background. When fullscreen is disabled, all clients are rearranged. This is made to make dwl more flexible allowing multiple fullscreen clients at the same time, have floating clients on top of a fullscreen one and let stuff happen without quitting fullscreen, like many other WMs and DEs.
2020-12-24quitallfullscreen() even when enabling fullscreenStivvo-7/+14
Disable fullscreen on all visible clients in that monitor also before enabling it on another client. quitallfullscreen() is reintroduced becouse is now more useful set c->isfullscreen later to avoid making quitallfullscreen() disable fullscreen on the current client
2020-12-24Remove goto render (easier merge)Stivvo-19/+18
2020-10-24Readme: achieve fullscreen + allow borderpx = 0Stivvo-2/+2
2020-10-14Quit fullscreen on new x11 windowStivvo-3/+4
After the removal of quitfullscreen() dwl wouldn't compile widh xwayland enabled because createnotifyx11 was still using the old function
2020-10-14Delete quitfullscreen()Stivvo-20/+4
quitfullscreen() was replicating the functionalities of setfullscreen(c, 0) Reusing setfullscreen() in quitfullscreen() leads to a 3 line function, which is useless since quitfullscreen() is used once anyway
2020-10-08Keep windows fullscreen after redrawStivvo-0/+8
This fixes the bug that happens when changing workspace (or any time arrange() is called) where there are fullscreen windows, which are still fullscreen but leave the space for layer surfaces like waybar (which should be hidden when going fullscreen) Also as soon one fullscreen window is found hte function returns to improve efficiency
2020-10-08Set fullscreen simplerStivvo-4/+4
2020-09-16use m->m (fullscreen on top of layers)Stivvo-1/+1
2020-09-10fix typoGuido Cella-4/+4
2020-09-06Allow borderpx = 0Stivvo-2/+2
2020-09-05Toggle fullscreen on all clientsStivvo-3/+18
mod+e allows to toggle fullscreen any client, even those who don't support it themselves
2020-09-05Handle new windowsStivvo-2/+22
Windows lose fullscreen state when a new window is created in the same tag
2020-09-05isfullscreen intStivvo-4/+5
2020-09-05Same fscreen func for xdg and xwaylandStivvo-32/+14
2020-09-05Fullscreen xwaylandStivvo-1/+31
2020-09-05Unlink fullscreenStivvo-0/+1
2020-09-04Restore windows after fullscreenStivvo-0/+14
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-1/+8
Some code has been borrowed from the smartBorders patch
2020-09-04Toggle fullscreenStivvo-1/+1
2020-09-04Basic fullscreenStivvo-0/+11
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