From cf287db2048eae5eaa58a9cbffd42c703f345ff5 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 9 Dec 2009 00:00:49 +0000 Subject: [PATCH] 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. --- clutter/clutter-main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c index d72b5dc6f..1ac393ef0 100644 --- a/clutter/clutter-main.c +++ b/clutter/clutter-main.c @@ -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;