1
0
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:
Iain Patterson
2013-03-26 23:12:31 +00:00
committed by Carlos R. Mafra
parent d25fde4173
commit 63219247c6
6 changed files with 30 additions and 1 deletions

View File

@@ -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);