1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-28 09:22:27 +01:00

fixed cycling

This commit is contained in:
kojima
2004-10-14 21:24:21 +00:00
parent 2e572717c5
commit 884a3f1647
5 changed files with 140 additions and 126 deletions

View File

@@ -216,14 +216,16 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
scr->flags.doing_alt_tab = 1;
#ifdef MOX_CYCLING
swpanel = wInitSwitchPanel(scr, scr->current_workspace);
swpanel = wInitSwitchPanel(scr, wwin, scr->current_workspace);
oldFocused = wwin;
if (swpanel) {
newFocused = wSwitchPanelSelectNext(swpanel, next);
newFocused = wSwitchPanelSelectNext(swpanel, !next);
wWindowFocus(newFocused, oldFocused);
oldFocused = newFocused;
}
else
newFocused= wwin;
#else /* !MOX_CYCLING */
if (next) {
if (wPreferences.windows_cycling)