From: Kristian Høgsberg Date: Mon, 29 Oct 2012 20:42:26 +0000 (-0400) Subject: window: Ignore input_set_pointer_image() if we don't have a pointer X-Git-Tag: 1.0.1~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e530a0a240f7353f3f2ec1657baa6ea45eba076f;p=platform%2Fupstream%2Fweston.git window: Ignore input_set_pointer_image() if we don't have a pointer https://bugs.freedesktop.org/show_bug.cgi?id=55782 --- diff --git a/clients/window.c b/clients/window.c index 380962c..7b5e351 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2691,6 +2691,9 @@ input_set_pointer_image(struct input *input, int pointer) { int force = 0; + if (!input->pointer) + return; + if (input->pointer_enter_serial > input->cursor_serial) force = 1;