[Wayland-bugs] [Bug 100740] Blender viewport "goes crazy" when mouse reaches viewport window edge in fly mode (Shift+F) or moving object (G)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 25 08:44:41 UTC 2017


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

--- Comment #7 from Olivier Fourdan <fourdan at xfce.org> ---
Fixing the crash leads to the same behavior though...

diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
index 623633d..4c7ab8b 100644
--- a/hw/xwayland/xwayland.c
+++ b/hw/xwayland/xwayland.c
@@ -176,6 +176,9 @@ xwl_cursor_warped_to(DeviceIntPtr device,
     struct xwl_seat *xwl_seat = device->public.devicePrivate;
     struct xwl_window *xwl_window;

+    if (!window)
+        return;
+
     if (!xwl_seat)
         xwl_seat = xwl_screen_get_default_seat(xwl_screen);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170425/668f02b7/attachment.html>


More information about the wayland-bugs mailing list