perberos/Mate-Desktop-Environment — pull request #49 by stefano-k (2011-11-27 21:36:43+00:00)
Title: applied a debian patch

some times clicking the bar generates event on wrong window.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559576

Description from debian patch:

With client side windows, mixing GDK event delivery with explicit calls
to XUngrabPointer() can result in GDK losing button release events
it expects to get. This means that GDK thinks there is an implicit
grab in effect when there is none and send events to the wrong window.

Avoid this by bypassing GDK's event handling for most mouse events.
We do a simplified conversion of the X event into a GdkEvent and send
it to directly to libgtk for delivery.

We make an exception when a GDK grab is already in effect - this is
needed for the correct operation of menus.

http://bugzilla.gnome.org/show_bug.cgi?id=599181