diff options
| author | Abhinav <abhinav.prsai@gmail.com> | 2025-06-29 13:56:36 +0100 |
|---|---|---|
| committer | Abhinav <abhinav.prsai@gmail.com> | 2025-06-29 13:56:36 +0100 |
| commit | d016ab80966b0f76bef2075b353c7e50729cb86c (patch) | |
| tree | 45c948fcc55f33e1b0236e2b9d24956fe07716dd | |
| parent | cee1cc7aea5ed949fe05d1fb483b1402ced5961b (diff) | |
fix moving fullscreen windows disables fullscreen
moving fullscreen windows to new workspace disables fullscreen on them.
just removed redundant, old code
| -rw-r--r-- | src/sxwm.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1660,14 +1660,8 @@ void move_to_workspace(int ws) if (!focused || ws >= NUM_WORKSPACES || ws == current_ws) { return; } - - if (focused->fullscreen) { - focused->fullscreen = False; - XMoveResizeWindow(dpy, focused->win, focused->orig_x, focused->orig_y, focused->orig_w, focused->orig_h); - XSetWindowBorderWidth(dpy, focused->win, user_config.border_width); - } - XUnmapWindow(dpy, focused->win); + /* remove from current list */ Client **pp = &workspaces[current_ws]; while (*pp && *pp != focused) { |
