forked from AuroraMiddleware/gtk
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:
commit
498d513c4b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user