aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* Change fullscreen policiesStivvo2020-12-241-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.
* quitallfullscreen() even when enabling fullscreenStivvo2020-12-241-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
* Remove goto render (easier merge)Stivvo2020-12-241-19/+18
|
* Readme: achieve fullscreen + allow borderpx = 0Stivvo2020-10-241-2/+2
|
* Quit fullscreen on new x11 windowStivvo2020-10-141-3/+4
| | | | | After the removal of quitfullscreen() dwl wouldn't compile widh xwayland enabled because createnotifyx11 was still using the old function
* Delete quitfullscreen()Stivvo2020-10-141-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
* Keep windows fullscreen after redrawStivvo2020-10-081-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
* Set fullscreen simplerStivvo2020-10-081-4/+4
|
* use m->m (fullscreen on top of layers)Stivvo2020-09-161-1/+1
|
* fix typoGuido Cella2020-09-101-4/+4
|
* Allow borderpx = 0Stivvo2020-09-061-2/+2
|
* Toggle fullscreen on all clientsStivvo2020-09-051-3/+18
| | | | | mod+e allows to toggle fullscreen any client, even those who don't support it themselves
* Handle new windowsStivvo2020-09-051-2/+22
| | | | | Windows lose fullscreen state when a new window is created in the same tag
* isfullscreen intStivvo2020-09-051-4/+5
|
* Same fscreen func for xdg and xwaylandStivvo2020-09-051-32/+14
|
* Fullscreen xwaylandStivvo2020-09-051-1/+31
|
* Unlink fullscreenStivvo2020-09-051-0/+1
|
* Restore windows after fullscreenStivvo2020-09-041-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
* No borders on fullscreen windowsStivvo2020-09-041-1/+8
| | | | Some code has been borrowed from the smartBorders patch
* Toggle fullscreenStivvo2020-09-041-1/+1
|
* Basic fullscreenStivvo2020-09-041-0/+11
|
* set up interfaces in same order as swayDevin J. Pohly2020-08-231-1/+1
| | | | This makes it easier to compare WAYLAND_DEBUG logs when troubleshooting.
* enable gamma controlGuido Cella2020-08-221-0/+2
|
* cleanup function to match dwmDevin J. Pohly2020-08-191-17/+20
|
* fix usage to matchDevin J. Pohly2020-08-191-1/+1
|
* we're not really using the logDevin J. Pohly2020-08-191-20/+4
|
* this is technically barf too I guess?Devin J. Pohly2020-08-191-2/+1
|
* only call updatewindowtype for x11 windowsDevin J. Pohly2020-08-191-9/+7
|
* handle NULL return from backend_autocreateDevin J. Pohly2020-08-181-1/+2
| | | | Fixes #44.
* add macro for fatal errorsDevin J. Pohly2020-08-181-30/+14
| | | | dwm lets the OS do cleanup if the program errors out
* Use SIGCHLD handler from dwmDevin J. Pohly2020-08-181-0/+15
| | | | Fixes #46.
* make this marginally less uglyDevin J. Pohly2020-08-161-3/+2
|
* wlr_session_change_vt is NULL safeDevin J. Pohly2020-08-161-4/+1
|
* _net_wm not needed outside xwaylandDevin J. Pohly2020-08-161-1/+1
|
* Merge pull request #37 from alex-courtis/31-independents-mouse-focusDevin J. Pohly2020-08-161-0/+38
|\ | | | | 31 independents mouse focus
| * Merge branch 'master' into 31-independents-mouse-focusAlexander Courtis2020-08-111-153/+215
| |\
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-091-1/+3
| | |
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-091-6/+4
| | |
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-061-1/+1
| | |
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-061-4/+32
| | |
* | | Declare commitnotifyGuido Cella2020-08-151-0/+1
| |/ |/|
* | make XWayland support optionalDevin J. Pohly2020-08-101-130/+182
|/
* add monocle layoutDevin J. Pohly2020-08-031-0/+13
|
* condense getatom and add note about error returnDevin J. Pohly2020-08-031-4/+3
|
* Merge branch 'master' of github:djpohly/dwl into masterDevin J. Pohly2020-08-031-1/+1
|\
| * Merge pull request #25 from geistesk/error-maybe-uninitializedDevin J. Pohly2020-08-031-1/+1
| |\ | | | | | | getatom: fix potential uninitialized atom variable
| | * getatom: fix potential uninitialized atom variableAlvar Penning2020-07-311-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.
* | | add some more hands-off protocolsDevin J. Pohly2020-08-031-0/+4
|/ /
* | fix an editing mistakeDevin J. Pohly2020-08-021-5/+5
| |
* | focusclient checks whether oldsel == selDevin J. Pohly2020-08-021-7/+2
| | | | | | | | No need to do it outside the call.