mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
fixed bug when trying to assign window shortcut in empty workspace
This commit is contained in:
@@ -1735,7 +1735,8 @@ handleKeyPress(XEvent *event)
|
||||
wSelectWindow(wwin, !wwin->flags.selected);
|
||||
XFlush(dpy);
|
||||
|
||||
} else if (WMGetBagItemCount(scr->selected_windows)) {
|
||||
} else if (scr->selected_windows
|
||||
&& WMGetBagItemCount(scr->selected_windows)) {
|
||||
|
||||
if (wwin->flags.selected && scr->selected_windows) {
|
||||
WMBag *selwins = scr->selected_windows;
|
||||
|
||||
Reference in New Issue
Block a user