[gtk+/composite-templates] wayland: Protocol change:	wl_shell_surface_* take surfaces for parents
- From: Juan Pablo Ugarte <jpu src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+/composite-templates] wayland: Protocol change:	wl_shell_surface_* take surfaces for parents
 
- Date: Sun, 15 Jul 2012 21:48:15 +0000 (UTC)
 
commit 0df15a9b3b6d78ff1fab15e7d3caa0e2838e6b91
Author: Rob Bradford <rob linux intel com>
Date:   Wed Jul 11 14:37:46 2012 +0100
    wayland: Protocol change: wl_shell_surface_* take surfaces for parents
    
    These functions used to take shell_surface objects and now take surface
    objects the parents.
 gdk/wayland/gdkwindow-wayland.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 70bea60..edc6e89 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -643,10 +643,10 @@ gdk_wayland_window_map (GdkWindow *window)
                */
               wl_shell_surface_set_popup (impl->shell_surface,
                                           parent->grab_input_seat, parent->grab_time,
-                                          parent->shell_surface,
+                                          parent->surface,
                                           window->x, window->y, 0);
             } else {
-                wl_shell_surface_set_transient (impl->shell_surface, parent->shell_surface,
+                wl_shell_surface_set_transient (impl->shell_surface, parent->surface,
                                                 window->x, window->y, 0);
             }
         }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]