mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
shortcutWindows moved to w_global
The variable shortcutWindows is moved to w_global. Now, the shortcuts are used in whole Window Maker, not only in the current screen.
This commit is contained in:
committed by
Carlos R. Mafra
parent
6987d4aa40
commit
0de3e590ce
@@ -208,8 +208,8 @@ static WMPropList *makeWindowState(WWindow * wwin, WApplication * wapp)
|
||||
geometry = WMCreatePLString(buffer);
|
||||
|
||||
for (mask = 0, i = 0; i < MAX_WINDOW_SHORTCUTS; i++) {
|
||||
if (scr->shortcutWindows[i] != NULL &&
|
||||
WMGetFirstInArray(scr->shortcutWindows[i], wwin) != WANotFound)
|
||||
if (w_global.shortcut.windows[i] != NULL &&
|
||||
WMGetFirstInArray(w_global.shortcut.windows[i], wwin) != WANotFound)
|
||||
mask |= 1 << i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user