event: Set the CrossingEvent device field
The CLUTTER_ENTER and CLUTTER_LEAVE should also have their device field set when calling clutter_event_set_device().
This commit is contained in:
parent
d1c819b563
commit
da6b5eb7e1
@ -821,8 +821,11 @@ clutter_event_set_device (ClutterEvent *event,
|
||||
case CLUTTER_DESTROY_NOTIFY:
|
||||
case CLUTTER_CLIENT_MESSAGE:
|
||||
case CLUTTER_DELETE:
|
||||
break;
|
||||
|
||||
case CLUTTER_ENTER:
|
||||
case CLUTTER_LEAVE:
|
||||
event->crossing.device = device;
|
||||
break;
|
||||
|
||||
case CLUTTER_BUTTON_PRESS:
|
||||
|
Loading…
Reference in New Issue
Block a user