view: Don't schedule resize after setting fullscreen

window_set_fullscreen will schedule a resize or wait for the configure
event as needed.
Kristian Høgsberg 13 years ago
parent 0d5a509ae5
commit 66c0880c58
  1. 1
      clients/view.c

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

Loading…
Cancel
Save