remove monitor_start. does not play that well with spot_start
This commit is contained in:
7
config.h
7
config.h
@@ -50,13 +50,6 @@
|
||||
// If spot is not current, window won't steal focus.
|
||||
//#define SPOT_START SPOT1
|
||||
|
||||
// If on multi-head, place windows on monitor N.
|
||||
// (0-based index, same order as xrandr list)
|
||||
//#define MONITOR_START 0
|
||||
|
||||
// If on multi-head, place windows on monitor holding current window.
|
||||
#define MONITOR_START MONITOR_CURRENT
|
||||
|
||||
// Available actions...
|
||||
// action_move .num = SPOT1/2/3
|
||||
// action_focus .num = SPOT1/2/3
|
||||
|
||||
3
event.c
3
event.c
@@ -73,8 +73,7 @@ void map_request(XEvent *e)
|
||||
client *c = window_build_client(e->xmaprequest.window);
|
||||
if (c && c->manage)
|
||||
{
|
||||
c->monitor = MONITOR_START == MONITOR_CURRENT ? current_mon: MONITOR_START;
|
||||
c->monitor = MIN(nmonitors-1, MAX(0, c->monitor));
|
||||
c->monitor = current_mon;
|
||||
monitor *m = &monitors[c->monitor];
|
||||
|
||||
int i, spot = SPOT_START == SPOT_CURRENT ? current_spot: SPOT_START;
|
||||
|
||||
Reference in New Issue
Block a user