GNOME Bugzilla – Bug 767997
wayland: mutter tries to focus override-redirect X11 windows with focus-follow-mouse
Last modified: 2016-07-06 07:21:36 UTC
Description: Under Wayland, running an X11/Xwayland client, mutter tries to focus override-redirect windows in focus-follow-mouse, thus causing a critical warning. Steps to reproduce: 1. Log-in "GNOME on Wayland" session 2. Enable focus-follow-mouse in gnome-tweak-tool 3. Open Firefox (which runs on X11/Xwayland) 4. Open a menu in Firefox and move the pointer within that menu Actual result: (gnome-shell:27376): mutter-CRITICAL **: meta_window_focus: assertion '!window->override_redirect' failed Expected results: No warning Additional data: (gdb) break meta_window_focus Breakpoint 1 at 0x7f129fd09f30: file core/window.c, line 4265. (gdb) cont Continuing. Thread 1 "gnome-shell" hit Breakpoint 1, meta_window_focus (window=0x34b3bc0, timestamp=88386225) at core/window.c:4265 4265 g_return_if_fail (!window->override_redirect); (gdb) bt
+ Trace 236386
$1 = 1 Patch to follow shortly...
Created attachment 330305 [details] [review] [PATCH] window: Do not try to focus O-R windows in focus-follow-mouse Doing so would raise a critical warning.
Review of attachment 330305 [details] [review]: ok
Comment on attachment 330305 [details] [review] [PATCH] window: Do not try to focus O-R windows in focus-follow-mouse attachment 330305 [details] [review] pushed to master as commit 492854e - window: Do not try to focus O-R windows in focus-follow-mouse