mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -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)
|
meta_display_sync_wayland_input_focus (MetaDisplay *display)
|
||||||
{
|
{
|
||||||
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
||||||
MetaWindow *focus_window;
|
MetaWindow *focus_window = NULL;
|
||||||
|
|
||||||
if (meta_grab_op_is_wayland (display->grab_op))
|
if (meta_grab_op_is_wayland (display->grab_op))
|
||||||
focus_window = NULL;
|
focus_window = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user