forked from AuroraMiddleware/gtk
Merge branch 'cherry-pick-21349009' into 'gtk-4-6'
x11: Always update shadow size See merge request GNOME/gtk!4760
This commit is contained in:
commit
7104861614
@ -280,7 +280,7 @@ compute_toplevel_size (GdkSurface *surface,
|
|||||||
gdk_toplevel_size_init (&size, bounds_width, bounds_height);
|
gdk_toplevel_size_init (&size, bounds_width, bounds_height);
|
||||||
gdk_toplevel_notify_compute_size (GDK_TOPLEVEL (surface), &size);
|
gdk_toplevel_notify_compute_size (GDK_TOPLEVEL (surface), &size);
|
||||||
|
|
||||||
if (size.shadow.is_valid && update_geometry)
|
if (size.shadow.is_valid)
|
||||||
{
|
{
|
||||||
update_shadow_size (surface,
|
update_shadow_size (surface,
|
||||||
size.shadow.left,
|
size.shadow.left,
|
||||||
|
Loading…
Reference in New Issue
Block a user