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.
|
// If on multi-head, place windows on monitor holding current window.
|
||||||
#define MONITOR_START MONITOR_CURRENT
|
#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...
|
// Available actions...
|
||||||
// action_move .num = SPOT1/2/3
|
// action_move .num = SPOT1/2/3
|
||||||
// action_focus .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_raise_family(c);
|
||||||
client_update_border(c);
|
client_update_border(c);
|
||||||
// if no current window, or new window has opened in the current spot, focus it
|
client_set_focus(c);
|
||||||
if (FOCUS_START == FOCUS_STEAL || !(a = window_build_client(current)) || (a && a->spot == c->spot))
|
|
||||||
client_set_focus(c);
|
|
||||||
client_free(a);
|
client_free(a);
|
||||||
ewmh_client_list();
|
ewmh_client_list();
|
||||||
update_bars();
|
update_bars();
|
||||||
|
|||||||
1
xoat.c
1
xoat.c
@@ -59,7 +59,6 @@ Display *display;
|
|||||||
#define ATOMLIST 10
|
#define ATOMLIST 10
|
||||||
enum { MONITOR_CURRENT=-1 };
|
enum { MONITOR_CURRENT=-1 };
|
||||||
enum { SPOT1=1, SPOT2, SPOT3, SPOT_CURRENT, SPOT_SMART, SPOT1_LEFT, SPOT1_RIGHT };
|
enum { SPOT1=1, SPOT2, SPOT3, SPOT_CURRENT, SPOT_SMART, SPOT1_LEFT, SPOT1_RIGHT };
|
||||||
enum { FOCUS_IGNORE=1, FOCUS_STEAL, };
|
|
||||||
enum { LEFT=1, RIGHT, UP, DOWN };
|
enum { LEFT=1, RIGHT, UP, DOWN };
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user