[PATCH] desktop-shell: respect CURSOR_NONE as grab cursor
Kristian Høgsberg
hoegsberg at gmail.com
Wed Aug 29 12:13:09 PDT 2012
On Fri, Aug 24, 2012 at 03:43:55PM +0200, Philipp Brüschweiler wrote:
Thanks, applied.
> ---
> 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
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list