[gtk+] wayland: Call wl_shell_surface_set_{popup, transient, toplevel} before attach
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Call wl_shell_surface_set_{popup, transient, toplevel} before attach
- Date: Mon, 27 Feb 2012 17:16:50 +0000 (UTC)
commit 161b9d2066ebb21f7e4c9ae95d0c2c1a5ca4f91a
Author: Rob Bradford <rob linux intel com>
Date: Mon Feb 27 12:55:25 2012 +0000
wayland: Call wl_shell_surface_set_{popup,transient,toplevel} before attach
The requests only have an effect if you call them before the buffer is
attached to the surface.
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 ed7d616..d76347b 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1313,11 +1313,11 @@ gdk_wayland_window_process_updates_recurse (GdkWindow *window,
cairo_rectangle_int_t rect;
int i, n;
+ gdk_wayland_window_map (window);
+
if (impl->cairo_surface)
gdk_wayland_window_attach_image (window);
- gdk_wayland_window_map (window);
-
n = cairo_region_num_rectangles(region);
for (i = 0; i < n; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]