mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
wayland: use correct enum type for tablet pad
Fixes a compile warning. The two enums are identical, so no functional change intended. https://gitlab.gnome.org/GNOME/mutter/merge_requests/863
This commit is contained in:
parent
662c76c4fc
commit
95eda361c1
@ -347,9 +347,9 @@ handle_pad_button_event (MetaWaylandTabletPad *pad,
|
||||
return FALSE;
|
||||
|
||||
if (event->type == CLUTTER_PAD_BUTTON_PRESS)
|
||||
button_state = ZWP_TABLET_TOOL_V2_BUTTON_STATE_PRESSED;
|
||||
button_state = ZWP_TABLET_PAD_V2_BUTTON_STATE_PRESSED;
|
||||
else if (event->type == CLUTTER_PAD_BUTTON_RELEASE)
|
||||
button_state = ZWP_TABLET_TOOL_V2_BUTTON_STATE_RELEASED;
|
||||
button_state = ZWP_TABLET_PAD_V2_BUTTON_STATE_RELEASED;
|
||||
else
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user