Menu

#13 Expose and Mouse Event improvements

closed-accepted
None
5
2004-05-28
2004-01-16
No

The MacGWind_FindChildAt() subroutine locates the 'child
window' at a point, it is used for keyboard and mouse events
to find the gwindow the gdk_event should be sent too.

If you have two child windows overlapping at the event
point, one hidden (unmapped) and one showing (mapped), it
could potentailly pick the hidden window depending on the
order they were added to the child window hierarchy.

This patch fixes this problem.

The good stuff...Currently in GIMP the tool option and
preferences stop responding in you move between tools/
preferences this stops that. It does not fix the bad widget
drawing, but if you click on the actual widgets for the
current tool/preference its will now respond.

Dave

Discussion

  • David Burnett

    David Burnett - 2004-01-28

    Logged In: YES
    user_id=5758

    Big improvement to the rendering of the tools and preferences
    windows. Only the lists show any really bad drawing now. Still
    other probelms if you look hard enough.

     
  • David Burnett

    David Burnett - 2004-02-06
    • summary: Stops events going to unmapped gwindows --> Expose and Mouse Event improvements
     
  • David Burnett

    David Burnett - 2004-02-06

    Logged In: YES
    user_id=5758

    This version adds mouse event propagation to the other improvements.
    This improves the behaviour of scroll bars.

    MacGWind_Show now fires an expose event after the configure event as
    described in the X11 xlib manual.

     
  • David Burnett

    David Burnett - 2004-02-06

    diff -u against current sf cvs
    Download

     
  • Andrew Prock

    Andrew Prock - 2004-05-28
    • assigned_to: nobody --> laprock
    • status: open --> closed-accepted