window: Ignore input_set_pointer_image() if we don't have a pointer
https://bugs.freedesktop.org/show_bug.cgi?id=55782
This commit is contained in:
@@ -2691,6 +2691,9 @@ input_set_pointer_image(struct input *input, int pointer)
|
|||||||
{
|
{
|
||||||
int force = 0;
|
int force = 0;
|
||||||
|
|
||||||
|
if (!input->pointer)
|
||||||
|
return;
|
||||||
|
|
||||||
if (input->pointer_enter_serial > input->cursor_serial)
|
if (input->pointer_enter_serial > input->cursor_serial)
|
||||||
force = 1;
|
force = 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user