[PATCH weston 3/3] desktop-shell: Don't get a shell surface for the grab surface
Ander Conselvan de Oliveira
ander.conselvan.de.oliveira at intel.com
Mon Jul 16 04:15:50 PDT 2012
The grab surface does not depend on any of the shell surface
functionality, so don't allocated one.
---
clients/desktop-shell.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index fbc0604..cf28246 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -826,7 +826,7 @@ grab_surface_create(struct desktop *desktop)
{
struct wl_surface *s;
- desktop->grab_window = window_create(desktop->display);
+ desktop->grab_window = window_create_custom(desktop->display);
window_set_user_data(desktop->grab_window, desktop);
s = window_get_wl_surface(desktop->grab_window);
--
1.7.4.1
More information about the wayland-devel
mailing list