terminal: Don't queue a resize after setting fullscreen

We end up doing an attach at the non-fullscreen size before resizing to
fullscreen, causing the terminal to jump to the center for a frame before we
render the fullscreen image.
Kristian Høgsberg 13 years ago
parent 8811bf9e8d
commit 9dd1ed24db
  1. 1
      clients/terminal.c

@ -2089,7 +2089,6 @@ key_handler(struct window *window, struct input *input, uint32_t time,
break; break;
terminal->fullscreen ^= 1; terminal->fullscreen ^= 1;
window_set_fullscreen(window, terminal->fullscreen); window_set_fullscreen(window, terminal->fullscreen);
window_schedule_redraw(terminal->window);
break; break;
case XK_BackSpace: case XK_BackSpace:

Loading…
Cancel
Save