desktop-shell: respect CURSOR_NONE as grab cursor
This commit is contained in:
parent
bd3f219344
commit
16d59d7780
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user