Commit b9f55dfd authored by Benjamin Otte's avatar Benjamin Otte

window: Unfreeze window on unmap

Make sure to keep parity with the number of times we froze the window
when we unmap it.
Otherwise it will permanently stay frozen after being remapped.
parent 5759e2a3
......@@ -6351,7 +6351,11 @@ gtk_window_unmap (GtkWidget *widget)
gtk_widget_set_mapped (widget, FALSE);
gdk_window_withdraw (gdk_window);
priv->configure_request_count = 0;
while (priv->configure_request_count > 0)
GDK_PRIVATE_CALL (gdk_window_thaw_toplevel_updates) (_gtk_widget_get_window (widget));
priv->configure_notify_received = FALSE;
/* on unmap, we reset the default positioning of the window,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment