This commit is contained in:
Julien Danjou 2008-01-24 20:26:22 +01:00
parent 30256b3be3
commit 2a574a9cda
1 changed files with 2 additions and 3 deletions

View File

@ -150,9 +150,8 @@ restack(int screen)
if(globalconf.screens[screen].allow_lower_floats) if(globalconf.screens[screen].allow_lower_floats)
XRaiseWindow(globalconf.display, sel->win); XRaiseWindow(globalconf.display, sel->win);
else else if(sel->isfloating || curlay->arrange == layout_floating)
if(sel->isfloating || curlay->arrange == layout_floating) XRaiseWindow(globalconf.display, sel->win);
XRaiseWindow(globalconf.display, sel->win);
if(globalconf.screens[screen].focus_move_pointer) if(globalconf.screens[screen].focus_move_pointer)
XWarpPointer(globalconf.display, None, sel->win, 0, 0, 0, 0, XWarpPointer(globalconf.display, None, sel->win, 0, 0, 0, 0,