mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
display: Fix compiler warning
Don't leave a variable uninitialized in case we don't find a matching surface.
This commit is contained in:
parent
7484d540cd
commit
71be7e8493
@ -1629,7 +1629,7 @@ void
|
||||
meta_display_sync_wayland_input_focus (MetaDisplay *display)
|
||||
{
|
||||
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
||||
MetaWindow *focus_window;
|
||||
MetaWindow *focus_window = NULL;
|
||||
|
||||
if (meta_grab_op_is_wayland (display->grab_op))
|
||||
focus_window = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user