downstream: ivi-layout: remove premature reset of surface event_mask
authorJanos Kovacs <jankovac503@gmail.com>
Sun, 24 Aug 2014 09:01:46 +0000 (12:01 +0300)
committerJanos Kovacs <jankovac503@gmail.com>
Wed, 10 Dec 2014 14:28:04 +0000 (16:28 +0200)
The surface event mask was reset in surface_prop_changed() that is
the bridging function to deliver the property change signal. Due
to the premature reset only the first notification on the subscriber
list had the correct the event mask.

Change-Id: I68bb53c4eb5d0873ca631ea7faa5574c2cbfbe53
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell/ivi-layout.c

index 314ca6d..f5fe26b 100644 (file)
@@ -1099,8 +1099,6 @@ surface_prop_changed(struct wl_listener *listener, void *data)
 
        ((surface_property_notification_func)prop_callback->callback)
                (ivisurf, &ivisurf->prop, ivisurf->event_mask, prop_callback->data);
-
-       ivisurf->event_mask = 0;
 }
 
 static void