[PATCH] desktop-shell: respect CURSOR_NONE as grab cursor

Philipp Brüschweiler blei42 at gmail.com
Fri Aug 24 06:43:55 PDT 2012


---
 clients/desktop-shell.c | 3 +++
 1 Datei geändert, 3 Zeilen hinzugefügt(+)

diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 97b2066..dc87e75 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -806,6 +806,9 @@ desktop_shell_grab_cursor(void *data,
 	struct desktop *desktop = data;
 
 	switch (cursor) {
+	case DESKTOP_SHELL_CURSOR_NONE:
+		desktop->grab_cursor = CURSOR_BLANK;
+		break;
 	case DESKTOP_SHELL_CURSOR_BUSY:
 		desktop->grab_cursor = CURSOR_WATCH;
 		break;
-- 
1.7.12



More information about the wayland-devel mailing list