[gtk: 2/8] Remove call to ShowOwnedPopups (FALSE) to hide owned windows




commit c77272a7d7cda548e5ff2a4dadbc8235ec9a9d23
Author: Luca Bacci <luca bacci982 gmail com>
Date:   Tue Dec 14 18:33:28 2021 +0100

    Remove call to ShowOwnedPopups (FALSE) to hide owned windows
    
    This is needed to fully support windows with the property
    "destroy-with-parent" set to FALSE.

 gdk/win32/gdksurface-win32.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index 94f380448a..7f635be528 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -989,9 +989,6 @@ gdk_win32_surface_hide (GdkSurface *window)
 
   _gdk_surface_clear_update_area (window);
 
-  if (GDK_IS_TOPLEVEL (window))
-    ShowOwnedPopups (GDK_SURFACE_HWND (window), FALSE);
-
   /* Use SetWindowPos to hide transparent windows so automatic redraws
    * in other windows can be suppressed.
    */


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