mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
wmaker: Support omnipresent setting toggle from keyboard
This commit is contained in:
committed by
Carlos R. Mafra
parent
33855a7a12
commit
7cb948098a
@@ -1543,6 +1543,13 @@ static void handleKeyPress(XEvent * event)
|
||||
handleMaximize(wwin, MAX_MAXIMUS | MAX_KEYBOARD);
|
||||
}
|
||||
break;
|
||||
case WKBD_OMNIPRESENT:
|
||||
if (ISMAPPED(wwin) && ISFOCUSED(wwin)) {
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
wWindowSetOmnipresent(wwin, !wwin->flags.omnipresent);
|
||||
}
|
||||
break;
|
||||
case WKBD_RAISE:
|
||||
if (ISMAPPED(wwin) && ISFOCUSED(wwin)) {
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
Reference in New Issue
Block a user