mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
core: Remove redundant ifdef
This code is already surrounded by the same ifdef. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2754>
This commit is contained in:
parent
02d4a07822
commit
753c768578
@ -1443,11 +1443,9 @@ meta_display_sync_wayland_input_focus (MetaDisplay *display)
|
|||||||
focus_window = NULL;
|
focus_window = NULL;
|
||||||
else if (is_no_focus_xwindow)
|
else if (is_no_focus_xwindow)
|
||||||
focus_window = NULL;
|
focus_window = NULL;
|
||||||
#ifdef HAVE_WAYLAND
|
|
||||||
else if (display->focus_window &&
|
else if (display->focus_window &&
|
||||||
meta_window_get_wayland_surface (display->focus_window))
|
meta_window_get_wayland_surface (display->focus_window))
|
||||||
focus_window = display->focus_window;
|
focus_window = display->focus_window;
|
||||||
#endif
|
|
||||||
else
|
else
|
||||||
meta_topic (META_DEBUG_FOCUS, "Focus change has no effect, because there is no matching wayland surface");
|
meta_topic (META_DEBUG_FOCUS, "Focus change has no effect, because there is no matching wayland surface");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user