mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Added shortcut to switch to last used workspace.
Added new LastWorkspaceKey shortcut and Workspaces menu entry to switch back to the last used workspace.
This commit is contained in:
committed by
Carlos R. Mafra
parent
d25fde4173
commit
63219247c6
@@ -911,6 +911,7 @@ static void manageAllWindows(WScreen * scr, int crashRecovery)
|
||||
WMNextEvent(dpy, &ev);
|
||||
WMHandleEvent(&ev);
|
||||
}
|
||||
scr->last_workspace = 0;
|
||||
wWorkspaceForceChange(scr, 0);
|
||||
if (!wPreferences.flags.noclip)
|
||||
wDockShowIcons(scr->workspaces[scr->current_workspace]->clip);
|
||||
|
||||
Reference in New Issue
Block a user