desktop-shell: respect CURSOR_NONE as grab cursor
This commit is contained in:
committed by
Kristian Høgsberg
parent
bd3f219344
commit
16d59d7780
@@ -806,6 +806,9 @@ desktop_shell_grab_cursor(void *data,
|
|||||||
struct desktop *desktop = data;
|
struct desktop *desktop = data;
|
||||||
|
|
||||||
switch (cursor) {
|
switch (cursor) {
|
||||||
|
case DESKTOP_SHELL_CURSOR_NONE:
|
||||||
|
desktop->grab_cursor = CURSOR_BLANK;
|
||||||
|
break;
|
||||||
case DESKTOP_SHELL_CURSOR_BUSY:
|
case DESKTOP_SHELL_CURSOR_BUSY:
|
||||||
desktop->grab_cursor = CURSOR_WATCH;
|
desktop->grab_cursor = CURSOR_WATCH;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user