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.
This commit is contained in:
Kristian Høgsberg 2012-02-28 09:17:32 -05:00
parent 8811bf9e8d
commit 9dd1ed24db
1 changed files with 0 additions and 1 deletions

View File

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