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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue