[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 09:23:08 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100740
--- Comment #9 from Olivier Fourdan <fourdan at xfce.org> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170425/4e8214fd/attachment.html>
More information about the wayland-bugs
mailing list