diff options
| author | Abhinav <abhinav.prsai@gmail.com> | 2025-07-01 19:13:57 +0100 |
|---|---|---|
| committer | Abhinav <abhinav.prsai@gmail.com> | 2025-07-01 19:13:57 +0100 |
| commit | 539a8ff27e556b11d9aa933d06ef641072702c73 (patch) | |
| tree | d42b61abdc4df68b58cf160de2f95465092d2213 | |
| parent | 6a10ad80d7d5c32494c516ff14275dfdccacfb82 (diff) | |
fix bottom bar struts taking half screen && windows killed on exit
| -rw-r--r-- | src/sxwm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1498,6 +1498,7 @@ void update_struts(void) } } XFree(children); + update_workarea(); } void update_workarea(void) @@ -1736,12 +1737,16 @@ long parse_col(const char *hex) void quit(void) { + /* Kill all clients on exit... + for (int ws = 0; ws < NUM_WORKSPACES; ws++) { for (Client *c = workspaces[ws]; c; c = c->next) { XUnmapWindow(dpy, c->win); XKillClient(dpy, c->win); } } + */ + XSync(dpy, False); XCloseDisplay(dpy); XFreeCursor(dpy, c_move); |
