1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-14 10:34:11 +01:00

Allow exit panel to be bound to a key shortcut

While debugging the save/restore workspace state, I found quite
useful to be able to exit windowmaker using a key shortcut.
This commit is contained in:
David Maciejak
2023-02-19 12:10:08 +08:00
committed by Carlos R. Mafra
parent 630e9292c2
commit fabd4252ab
8 changed files with 59 additions and 37 deletions

View File

@@ -1856,6 +1856,13 @@ static void handleKeyPress(XEvent * event)
break;
}
case WKBD_EXIT:
{
/* quick mode is not allowed to prevent inadvertently call */
ExecuteExitCommand(scr, 0);
break;
}
case WKBD_NEXTWSLAYER:
case WKBD_PREVWSLAYER:
{