diff --git a/src/conio/x_events.c b/src/conio/x_events.c index 104fa93926631452cdc60598209b097a5f9a5041..5b2713190437c38ea7c2ab3703ccc8516abf2135 100644 --- a/src/conio/x_events.c +++ b/src/conio/x_events.c @@ -1789,7 +1789,8 @@ x11_event(XEvent *ev) case MapNotify: if (map_pending) { map_pending = false; - handle_configuration(pending_width, pending_height, true, true); + if (pending_width && pending_height) + handle_configuration(pending_width, pending_height, true, true); } break; case NoExpose: