From 9dd1ed24db0b400dc2fa835fff720ba0c52ecb7b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 28 Feb 2012 09:17:32 -0500 Subject: [PATCH] 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. --- clients/terminal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/clients/terminal.c b/clients/terminal.c index e57a77d..65fec38 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -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: -- 2.7.4