initialize current_spot and current_mon

This commit is contained in:
Sean Pringle
2016-02-11 20:18:20 +11:00
parent d36e287884
commit 0e0fa13f32

View File

@@ -103,6 +103,10 @@ void setup()
}
memmove(monitors, padded, sizeof(Monitor) * MONITORS);
// if spot_start is CURRENT, first window needs somewhere to go
current_spot = SPOT1;
current_mon = 0;
// calculate spot boxes
for_monitors(i, m)
{