[gtk/wip/chergert/quartz4u: 746/782] macos: only do initial present once



commit 8859e1b45156a5a578cc90144651149322770713
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 20 10:13:03 2020 -0700

    macos: only do initial present once
    
    I think it's fine to only do this the once, so that we update popup
    layout on subsequent presents

 gdk/macos/gdkmacossurface.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 11a2e1fabe..ea91026d2d 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -95,8 +95,6 @@ gdk_macos_surface_hide (GdkSurface *surface)
 
   [self->window hide];
 
-  self->did_initial_present = FALSE;
-
   _gdk_surface_clear_update_area (surface);
 }
 


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