summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@intel.com>2013-04-01 20:16:55 -0300
committerTiago Vignatti <tiago.vignatti@intel.com>2013-04-01 20:18:34 -0300
commit71c92c8c7a7c7f80888cb242a53150c4e40f9d00 (patch)
treea1ea8b8b5d74041c3dce84b5783ac67917b9306d
parent3939d1b707ccd8c89f771fb09bcd634025f4925d (diff)
downloadgraynard-71c92c8c7a7c7f80888cb242a53150c4e40f9d00.tar.gz
graynard-71c92c8c7a7c7f80888cb242a53150c4e40f9d00.zip
Fix cursor setting
Don't clobber surface user data with junk. Background is alright now again. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
-rw-r--r--shell/gtk-shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/gtk-shell.c b/shell/gtk-shell.c
index 5d7c089..ffe8afc 100644
--- a/shell/gtk-shell.c
+++ b/shell/gtk-shell.c
@@ -99,8 +99,6 @@ background_create(struct desktop *desktop)
gdk_wayland_window_set_use_custom_surface(gdk_window);
desktop->surface = gdk_wayland_window_get_wl_surface(gdk_window);
- wl_surface_set_user_data(desktop->surface, desktop);
-
desktop_shell_set_background(desktop->shell, desktop->output,
desktop->surface);