blob: 202333a5e03908396c4bb9c22dceb52f36374bc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 6a847464de9e773f6d1490916d0df48a0f90eeba Mon Sep 17 00:00:00 2001
From: Marius Vlad <marius.vlad@collabora.com>
Date: Thu, 5 Oct 2023 16:27:34 +0300
Subject: [PATCH] clients: Handle missing pointer_surface is there's no pointer
event
Upstream-Status: Pending
Bug-AGL: SPEC-4916
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
---
clients/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/window.c b/clients/window.c
index 30f6410..882e9d5 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -3818,7 +3818,7 @@ pointer_surface_frame_callback(void *data, struct wl_callback *callback,
force_frame = false;
}
- if (!input->pointer)
+ if (!input->pointer || !input->pointer_surface)
return;
if (input_set_pointer_special(input))
--
2.35.1
|