event: Off-stage button releases have a click count of 1
The ButtonRelease off-stage should not have a click count of 0 but a click count initialized to 1.
This commit is contained in:
parent
bddabf6d2c
commit
cf287db204
@ -2372,6 +2372,7 @@ _clutter_process_event_details (ClutterActor *stage,
|
|||||||
x, y);
|
x, y);
|
||||||
|
|
||||||
event->button.source = stage;
|
event->button.source = stage;
|
||||||
|
event->button.click_count = 1;
|
||||||
emit_pointer_event (event, device);
|
emit_pointer_event (event, device);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user