From e530a0a240f7353f3f2ec1657baa6ea45eba076f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 29 Oct 2012 16:42:26 -0400 Subject: [PATCH] window: Ignore input_set_pointer_image() if we don't have a pointer https://bugs.freedesktop.org/show_bug.cgi?id=55782 --- clients/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/window.c b/clients/window.c index 380962cb..7b5e3510 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;