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:
Emmanuele Bassi 2009-12-09 00:00:49 +00:00
parent bddabf6d2c
commit cf287db204

View File

@ -2372,6 +2372,7 @@ _clutter_process_event_details (ClutterActor *stage,
x, y);
event->button.source = stage;
event->button.click_count = 1;
emit_pointer_event (event, device);
}
break;