1 From 6a847464de9e773f6d1490916d0df48a0f90eeba Mon Sep 17 00:00:00 2001
2 From: Marius Vlad <marius.vlad@collabora.com>
3 Date: Thu, 5 Oct 2023 16:27:34 +0300
4 Subject: [PATCH] clients: Handle missing pointer_surface is there's no pointer
7 Upstream-Status: Pending
10 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
12 clients/window.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/clients/window.c b/clients/window.c
16 index 30f6410..882e9d5 100644
17 --- a/clients/window.c
18 +++ b/clients/window.c
19 @@ -3818,7 +3818,7 @@ pointer_surface_frame_callback(void *data, struct wl_callback *callback,
23 - if (!input->pointer)
24 + if (!input->pointer || !input->pointer_surface)
27 if (input_set_pointer_special(input))