focus_follow_movement caused flickering, fixed.
When using focus_follow_movement, client_focus() should be called only if the target client is unfocused. Calling client_focus() on every motion event causes an ugly flickering of the window. Signed-off-by: Raphael Khaiat <raphael@khaiat.org>
This commit is contained in:
parent
4d39413f56
commit
5ece3a6e55
@ -637,6 +637,7 @@ motionnotify(XMotionEvent *ev)
|
||||
return;
|
||||
|
||||
if((c = client_gb_win(ev->subwindow)))
|
||||
if (c != sel)
|
||||
client_focus(c);
|
||||
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user