[gtk/present-toplevel-2: 57/178] broadway: Stop using gdk_surface_raise



commit 0a0c7528280f108b5cd503de1a9cdafcac24ba0f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 29 12:53:26 2020 -0500

    broadway: Stop using gdk_surface_raise
    
    We don't implement this anyway. Add a shortcut
    to the backend function in case we ever do.

 gdk/broadway/gdksurface-broadway.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c
index 84030d5ae7..90efc414ef 100644
--- a/gdk/broadway/gdksurface-broadway.c
+++ b/gdk/broadway/gdksurface-broadway.c
@@ -486,10 +486,15 @@ gdk_broadway_surface_layout_popup (GdkSurface     *surface,
     }
 }
 
+static void
+gdk_broadway_surface_raise (GdkSurface *surface)
+{
+}
+
 static void
 show_popup (GdkSurface *surface)
 {
-  gdk_surface_raise (surface);
+  gdk_broadway_surface_raise (surface);
   gdk_synthesize_surface_state (surface, GDK_SURFACE_STATE_WITHDRAWN, 0);
   _gdk_surface_update_viewable (surface);
   gdk_broadway_surface_show (surface, FALSE);
@@ -532,11 +537,6 @@ gdk_broadway_surface_present_popup (GdkSurface     *surface,
   return GDK_SURFACE_IS_MAPPED (surface);
 }
 
-static void
-gdk_broadway_surface_raise (GdkSurface *surface)
-{
-}
-
 static void
 gdk_broadway_surface_restack_toplevel (GdkSurface *surface,
                                        GdkSurface *sibling,


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