Skip to content
Snippets Groups Projects
Commit 44a8f524 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Handle case where we receive a MapNotify without a ConfigureNotify first

This shouldn't happen, but it does!
parent 1a0b8971
Branches
Tags
No related merge requests found
Pipeline #7640 passed
...@@ -1789,7 +1789,8 @@ x11_event(XEvent *ev) ...@@ -1789,7 +1789,8 @@ x11_event(XEvent *ev)
case MapNotify: case MapNotify:
if (map_pending) { if (map_pending) {
map_pending = false; 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; break;
case NoExpose: case NoExpose:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment