diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c index 28ee285e44..fd8f9d0b8e 100644 --- a/gdk/win32/gdksurface-win32.c +++ b/gdk/win32/gdksurface-win32.c @@ -3045,6 +3045,14 @@ handle_aerosnap_move_resize (GdkSurface *surface, int halfright = 0; int fullup = 0; gboolean fullup_edge = FALSE; + GdkWin32Surface *impl = GDK_WIN32_SURFACE (surface); + + if (context->op == GDK_WIN32_DRAGOP_MOVE) + { + if (impl->toplevel_layout != NULL && + !gdk_toplevel_layout_get_resizable (impl->toplevel_layout)) + return; + } if (context->op == GDK_WIN32_DRAGOP_RESIZE) switch (context->edge)