Added focus_follows_mouse config option

This commit is contained in:
Kim Silkebækken (lokaltog)
2010-01-26 12:10:48 +01:00
committed by Michael Stapelberg
parent 7c7756d75f
commit 7f10970fc7
4 changed files with 14 additions and 1 deletions

View File

@ -236,7 +236,8 @@ int handle_enter_notify(void *ignored, xcb_connection_t *conn, xcb_enter_notify_
return 1;
}
set_focus(conn, client, false);
if (config.focus_follows_mouse)
set_focus(conn, client, false);
return 1;
}