commit 0888869bcf896a103044a56b7422993ebb6f5f8b
parent d508237d1b0aa81d33379e28d6da3f6dc082501f
Author: Michael Savage <mikejsavage@gmail.com>
Date: Thu, 6 Sep 2018 13:31:35 +0300
Style
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/x11.cc b/src/x11.cc
@@ -533,6 +533,7 @@ static void event_resize( XEvent * xevent ) {
int old_max_width = UI.max_width;
int old_max_height = UI.max_height;
+
UI.max_width = max( UI.max_width, UI.width );
UI.max_height = max( UI.max_height, UI.height );