2009-02-23 Alejandro G. Castro <alex@igalia.com>
authorAlejandro G. Castro <alex@igalia.com>
Mon, 23 Feb 2009 17:16:57 +0000 (17:16 +0000)
committerAlejandro G. Castro <alex@igalia.com>
Mon, 23 Feb 2009 17:16:57 +0000 (17:16 +0000)
commit3a7d16c61a21ee2da94575eaf8da5ddec4b5e452
treecc312c227d6936a03427652cff79e64e90428755
parent736e152b561b9fc169328ca9961a9cb30689a45b
2009-02-23 Alejandro G. Castro <alex@igalia.com>

This patch was applied before but reverted because it caused
problems, we have changed the main condition and tested the
regressions we detected before and they work ok. We have done a
complete review of the topmost algorithm in order to get a more
general solution.

        * src/hildon-pannable-area.c,
        (hildon_pannable_area_get_topmost): Added a new parameter to
        filter the the windows that do not include those events.
        (hildon_pannable_area_button_press_cb),
        (hildon_pannable_area_button_release_cb),
        (hildon_pannable_get_child_widget_at): Reviewed the call the the
        topmost function, we have added the new parameter.

        Fixes: NB#97458 (Pannable area prevents propagation of button
        press events)
ChangeLog
src/hildon-pannable-area.c