<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Blender viewport "goes crazy" when mouse reaches viewport window edge in fly mode (Shift+F) or moving object (G)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100740#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Blender viewport "goes crazy" when mouse reaches viewport window edge in fly mode (Shift+F) or moving object (G)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100740">bug 100740</a>
from <span class="vcard"><a class="email" href="mailto:fourdan@xfce.org" title="Olivier Fourdan <fourdan@xfce.org>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>Carlos' series:
<a href="https://patchwork.freedesktop.org/series/15204/">https://patchwork.freedesktop.org/series/15204/</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>