commit | f337052a5cce5c6fd36efb2666ced7ff7b4f9c5c | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Jun 20 23:04:41 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Jun 20 23:04:41 2012 -0400 |
tree | d850587f0c9117c815a296b64b66ffe2a9ae1f00 | |
parent | f2735ea8afdea6b91ff8cb5ce9e7d88bb5961ca4 [diff] [blame] |
window: Add support for the blank cursor
diff --git a/clients/window.c b/clients/window.c index 25a8036..f41812a 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -2398,6 +2398,12 @@ input->cursor_frame_cb = NULL; } + if (input->current_cursor == CURSOR_BLANK) { + wl_pointer_set_cursor(input->pointer, input->display->serial, + NULL, 0, 0); + return; + } + if (input->current_cursor == CURSOR_UNSET) return; cursor = input->display->cursors[input->current_cursor];