There was an error while loading. Please reload this page.
1 parent 25f17c1 commit b3cb09eCopy full SHA for b3cb09e
1 file changed
src/core/window.c
@@ -5594,8 +5594,11 @@ meta_window_raise (MetaWindow *window)
5594
* It is important that this runs before meta_stack_raise() because
5595
* showing a window may overwrite its stacking order based on the
5596
* stacking rules for newly shown windows.
5597
+ * Skip X11: flushing here can prevent newly mapped windows from
5598
+ * receiving focus.
5599
*/
- meta_window_flush_calc_showing (window);
5600
+ if (window->client_type != META_WINDOW_CLIENT_TYPE_X11)
5601
+ meta_window_flush_calc_showing (window);
5602
5603
ancestor = meta_window_find_root_ancestor (window);
5604
0 commit comments