Merge branch 'wip/wayland-dummy-resize-configure' into 'gtk-3-24'

wayland: Emit dummy configure event when resizing while fixed

See merge request GNOME/gtk!2542
This commit is contained in:
Matthias Clasen 2020-09-13 13:14:05 +00:00
commit 498d513c4b

View File

@ -3495,7 +3495,19 @@ gdk_window_wayland_move_resize (GdkWindow *window,
if (!should_use_fixed_size (window->state) ||
(width == impl->fixed_size_width &&
height == impl->fixed_size_height))
gdk_wayland_window_maybe_configure (window, width, height, impl->scale);
{
gdk_wayland_window_maybe_configure (window,
width,
height,
impl->scale);
}
else if (!should_inhibit_resize (window))
{
gdk_wayland_window_configure (window,
window->width,
window->height,
impl->scale);
}
}
}