mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
[events] Added handling of missing type to clutter_event_get_state
clutter_event_get_state wasn't returning the state for CLUTTER_BUTTON_RELEASE, the information was there it just needed to be returned correctly.
This commit is contained in:
parent
48ac45f060
commit
8e6e09c8ef
@ -95,6 +95,7 @@ clutter_event_get_state (ClutterEvent *event)
|
||||
case CLUTTER_KEY_RELEASE:
|
||||
return event->key.modifier_state;
|
||||
case CLUTTER_BUTTON_PRESS:
|
||||
case CLUTTER_BUTTON_RELEASE:
|
||||
return event->button.modifier_state;
|
||||
case CLUTTER_MOTION:
|
||||
return event->motion.modifier_state;
|
||||
|
Loading…
Reference in New Issue
Block a user