commit 344d718f9762c7889aa3d9cc4b63b4342c57f460
parent 53eec1720c481047f5ee0d801c4321cdba6f6b96
Author: Michael Savage <mikejsavage@gmail.com>
Date: Tue, 4 Sep 2018 09:18:12 +0300
Fix flickering while resizing
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/x11.cc b/src/x11.cc
@@ -352,9 +352,6 @@ static void eventResize( XEvent * event ) {
UI.back_buffer = XCreatePixmap( UI.display, UI.window, UI.max_width, UI.max_height, UI.depth );
}
- XSetForeground( UI.display, UI.gc, Style.bg );
- XFillRectangle( UI.display, UI.window, UI.gc, 0, 0, UI.width, UI.height );
-
textview_set_pos( &UI.chat_text_view, PADDING, PADDING );
textview_set_size( &UI.chat_text_view, UI.width - ( 2 * PADDING ), ( Style.font.height + SPACING ) * CHAT_ROWS );