https://bugzilla.gnome.org/show_bug.cgi?id=791081

--- Comment #1 from Olivier Fourdan <ofour...@redhat.com> ---
I think we hit a corner case here.

Basically, when the gtk_window_resize(GTK_WINDOW(window), 1, 1); is issue, we
don't have CSD enabled, so 1x1 is a valid size.

Then the windos widget is unrealized, gtk_window_set_titlebar() is invoked and
enables CSD, which means that the decorations will be taken from the window
size.

So eventually, when we realize the window with its requested size of 1x1, the
client side decorations are substracted which leads to negative sizes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to