blob: 16ce8af371d5bcfb9d2a191a1f861a910933fc96 (
plain)
1
2
3
4
5
6
7
8
9
|
Fixes crash with touchscreens when attempting to drag windows
https://gitlab.gnome.org/GNOME/mutter/-/work_items/4887
--- a/src/wayland/meta-wayland-touch.c
+++ b/src/wayland/meta-wayland-touch.c
@@ -659,3 +659,3 @@
- if (touch_info->focus_surface->surface == surface)
+ if (touch_info->focus_surface && touch_info->focus_surface->surface == surface)
|