remove monitor_start. does not play that well with spot_start

This commit is contained in:
seanpringle
2012-11-07 18:05:52 +10:00
parent 019d6c210b
commit 4197ad0bfc
3 changed files with 1 additions and 10 deletions

View File

@@ -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;