Invert logic for the last commit
This makes it more clear that the option is meant to be a special case (it *disables* part of the focus handling). Also, when initializing the config data structure with zeros, it will get initialized with the right value. Furthermore, the config file parser now also accepts various values which represent "true", not only numbers.
This commit is contained in:
@ -236,7 +236,7 @@ int handle_enter_notify(void *ignored, xcb_connection_t *conn, xcb_enter_notify_
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (config.focus_follows_mouse)
|
||||
if (!config.disable_focus_follows_mouse)
|
||||
set_focus(conn, client, false);
|
||||
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user