https://bugs.freedesktop.org/show_bug.cgi?id=100740

--- Comment #9 from Olivier Fourdan <[email protected]> ---
Carlos' series:

https://patchwork.freedesktop.org/series/15204/

Plus this patch here:

diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
index 623633d..3b5c9a7 100644
--- a/hw/xwayland/xwayland.c
+++ b/hw/xwayland/xwayland.c
@@ -180,9 +180,10 @@ xwl_cursor_warped_to(DeviceIntPtr device,
         xwl_seat = xwl_screen_get_default_seat(xwl_screen);

     xwl_window = xwl_window_from_window(window);
-    if (!xwl_window && !window->parent &&
-        client == wClient(xwl_seat->focus_window->window)) {
-        DebugF("Warp on root window, assuming pointer focus\n");
+    if (window == None ||
+        (!xwl_window && !window->parent &&
+        client == wClient(xwl_seat->focus_window->window))) {
+        DebugF ("Warp on root window, assuming pointer focus\n");
         xwl_window = xwl_seat->focus_window;
     }
     if (!xwl_window)

Fix the issue for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to