view: Don't schedule resize after setting fullscreen

window_set_fullscreen will schedule a resize or wait for the configure
event as needed.
This commit is contained in:
Kristian Høgsberg
2012-02-16 22:51:33 -05:00
parent 0d5a509ae5
commit 66c0880c58
-1
View File
@@ -175,7 +175,6 @@ key_handler(struct window *window, struct input *input, uint32_t time,
case KEY_F11:
view->fullscreen ^= 1;
window_set_fullscreen(window, view->fullscreen);
window_schedule_redraw(view->window);
break;
case KEY_SPACE:
case KEY_PAGEDOWN: