2009-02-13 Alejandro G. Castro <alex@igalia.com>
authorAlejandro G. Castro <alex@igalia.com>
Fri, 13 Feb 2009 16:33:39 +0000 (16:33 +0000)
committerAlejandro G. Castro <alex@igalia.com>
Fri, 13 Feb 2009 16:33:39 +0000 (16:33 +0000)
commita5b4e86c6ccd38e8c8b57dee115209684b13f2ee
tree637d2f6d4330d25b688d516166b8f30f7cbfa592
parent09480dbcb4c78849eb2045ee01486624dd8d4f5f
2009-02-13 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.

        * 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. Added
        also a condition when finding the window to filter windows that do
        not ask for 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