--- Comment #13 from Olivier Fourdan <> ---
Created attachment 335859
[PATCH] gtkwindow: Update shadow size on state change

Otherwise, with CSD, we could have a discrepancy where gtk uses the right
values for the shadows whereas the gdk backend still uses the old values,
leading in some cases to invalid or negative min size being computed (which, in
Wayland, leads a protocol error).

This fixes the issue at the upper, gtk level and avoids the invalid min size
being set in Wayland (and consequently the protocol error).

You may still want to clamp() the values in
gdk_wayland_window_set_geometry_hints() but that should not be needed.

You are receiving this mail because:
You are on the CC list for the bug.
wayland-bugs mailing list

Reply via email to