Clean up after removing screen_adjust removal.

This commit is contained in:
John Vogel 2013-12-17 20:16:58 -05:00
parent 1104340f0b
commit 55b657996f
1 changed files with 2 additions and 1 deletions

3
bar.c
View File

@ -590,12 +590,13 @@ handle_randr_event (xcb_generic_event_t *ev)
screen_t *s, *t = screens;
num = get_randr_outputs(scr->root, &s);
// num_screens = screen_adjust(s, num, &screens);
if (num <= 0) {
fprintf(stderr, "handle_randr_event: no outputs\n");
exit(1);
}
/* there needs to be more fixups after the screens are returned */
screens = s;
num_screens = num;
free(t);
}