mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
- Fix that enables that the virtual desktop code be disabled on the fly
when VirtualEdgeThickness is set to 0 - Fixed virtual edge to resize the edge on the fly if thickness changes
This commit is contained in:
@@ -1613,7 +1613,7 @@ wKeyboardMoveResizeWindow(WWindow *wwin)
|
||||
|
||||
|
||||
#if defined(NETWM_HINTS) && defined(VIRTUAL_DESKTOP)
|
||||
wWorkspaceResizeViewPort(scr, scr->current_workspace);
|
||||
wWorkspaceResizeViewport(scr, scr->current_workspace);
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
@@ -1908,7 +1908,7 @@ wMouseMoveWindow(WWindow *wwin, XEvent *ev)
|
||||
|
||||
#if defined(NETWM_HINTS) && defined(VIRTUAL_DESKTOP)
|
||||
if (started)
|
||||
wWorkspaceResizeViewPort(scr, scr->current_workspace);
|
||||
wWorkspaceResizeViewport(scr, scr->current_workspace);
|
||||
#endif
|
||||
|
||||
return started;
|
||||
@@ -2207,7 +2207,7 @@ wMouseResizeWindow(WWindow *wwin, XEvent *ev)
|
||||
}
|
||||
|
||||
#if defined(NETWM_HINTS) && defined(VIRTUAL_DESKTOP)
|
||||
wWorkspaceResizeViewPort(scr, scr->current_workspace);
|
||||
wWorkspaceResizeViewport(scr, scr->current_workspace);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user