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:
parent
8811bf9e8d
commit
9dd1ed24db
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user