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:
committed by
Carlos R. Mafra
parent
630e9292c2
commit
fabd4252ab
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user