1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-27 17:02:33 +01:00

allow omnipresent iconized windows to be focused on empty workspaces

This commit is contained in:
kojima
2004-10-20 06:11:30 +00:00
parent f555ccb9b9
commit 3a7749b0fc
3 changed files with 8 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
WSwitchPanel *swpanel = NULL;
KeyCode leftKey, rightKey, homeKey, endKey;
if (!wwin || wwin->frame->workspace != scr->current_workspace)
if (!wwin)
return;
leftKey = XKeysymToKeycode(dpy, XK_Left);
@@ -117,7 +117,12 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
}
}
else
newFocused= wwin;
{
if (wwin->frame->workspace == scr->current_workspace)
newFocused= wwin;
else
newFocused= NULL;
}
while (hasModifier && !done) {
WMMaskEvent(dpy, KeyPressMask|KeyReleaseMask|ExposureMask|PointerMotionMask, &ev);