desktop-shell: respect CURSOR_NONE as grab cursor

Philipp Brüschweiler 12 years ago committed by Kristian Høgsberg
parent bd3f219344
commit 16d59d7780
  1. 3
      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;

Loading…
Cancel
Save