Skip to content

Commit

Permalink
initialize current_spot and current_mon
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpringle committed Feb 11, 2016
1 parent d36e287 commit 0e0fa13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0e0fa13

Please sign in to comment.