cursor-renderer/native: Fix compilation warning
Previous initialization triggered Wmissing-braces in Clang. https://gitlab.gnome.org/GNOME/mutter/merge_requests/731
This commit is contained in:
parent
b7ef8796b2
commit
4d8190972d
@ -398,7 +398,7 @@ update_hw_cursor (MetaCursorRendererNative *native,
|
||||
if (cursor_sprite)
|
||||
rect = meta_cursor_renderer_calculate_rect (renderer, cursor_sprite);
|
||||
else
|
||||
rect = (ClutterRect) { 0 };
|
||||
rect = (ClutterRect) CLUTTER_RECT_INIT_ZERO;
|
||||
|
||||
logical_monitors =
|
||||
meta_monitor_manager_get_logical_monitors (monitor_manager);
|
||||
|
Loading…
Reference in New Issue
Block a user