remove focus ignore/steal stuff. use apps that behave.
This commit is contained in:
6
config.h
6
config.h
@@ -57,12 +57,6 @@
|
||||
// If on multi-head, place windows on monitor holding current window.
|
||||
#define MONITOR_START MONITOR_CURRENT
|
||||
|
||||
// Should new windows be automatically focused, or ignored until focused manually?
|
||||
// IGNORE means new windows only steal focus if they obscure the current window.
|
||||
// STEAL means new windows always steal focus.
|
||||
//#define FOCUS_START FOCUS_IGNORE
|
||||
#define FOCUS_START FOCUS_STEAL
|
||||
|
||||
// Available actions...
|
||||
// action_move .num = SPOT1/2/3
|
||||
// action_focus .num = SPOT1/2/3
|
||||
|
||||
4
event.c
4
event.c
@@ -99,9 +99,7 @@ void map_notify(XEvent *e)
|
||||
{
|
||||
client_raise_family(c);
|
||||
client_update_border(c);
|
||||
// if no current window, or new window has opened in the current spot, focus it
|
||||
if (FOCUS_START == FOCUS_STEAL || !(a = window_build_client(current)) || (a && a->spot == c->spot))
|
||||
client_set_focus(c);
|
||||
client_set_focus(c);
|
||||
client_free(a);
|
||||
ewmh_client_list();
|
||||
update_bars();
|
||||
|
||||
Reference in New Issue
Block a user