[gtk/fix-3728-3799] gdkevents-win32.c: Don't force resize if minimizing



commit 8cdc58a2ed2a4b4a6d6185e4f09bde452f2d5822
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Jul 20 15:09:51 2021 +0800

    gdkevents-win32.c: Don't force resize if minimizing
    
    There is no point, and will cause lots of warnings to show up

 gdk/win32/gdkevents-win32.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index 060af00864..86996666a0 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -2835,6 +2835,7 @@ gdk_event_translate (MSG *msg,
           set_bits & GDK_TOPLEVEL_STATE_MINIMIZED)
         {
           impl->inhibit_configure = TRUE;
+          impl->drag_move_resize_context.native_move_resize_pending = FALSE;
           gdk_surface_freeze_updates (window);
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]