cosmetic
This commit is contained in:
parent
30256b3be3
commit
2a574a9cda
5
layout.c
5
layout.c
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue