mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
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)
|
if (cursor_sprite)
|
||||||
rect = meta_cursor_renderer_calculate_rect (renderer, cursor_sprite);
|
rect = meta_cursor_renderer_calculate_rect (renderer, cursor_sprite);
|
||||||
else
|
else
|
||||||
rect = (ClutterRect) { 0 };
|
rect = (ClutterRect) CLUTTER_RECT_INIT_ZERO;
|
||||||
|
|
||||||
logical_monitors =
|
logical_monitors =
|
||||||
meta_monitor_manager_get_logical_monitors (monitor_manager);
|
meta_monitor_manager_get_logical_monitors (monitor_manager);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user