mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
clutter/seat: Fix initial value in clutter_seat_has_touchscreen()
If we didn't have a touchscreen, we returned an uninitialized value. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1801>
This commit is contained in:
parent
83ed2afe34
commit
71b78c7bf4
@ -672,7 +672,7 @@ clutter_seat_get_touch_mode (ClutterSeat *seat)
|
||||
gboolean
|
||||
clutter_seat_has_touchscreen (ClutterSeat *seat)
|
||||
{
|
||||
gboolean has_touchscreen;
|
||||
gboolean has_touchscreen = FALSE;
|
||||
const GList *devices, *l;
|
||||
|
||||
g_return_val_if_fail (CLUTTER_IS_SEAT (seat), FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user