Re: [PATCH weston 1/2 v2] Clip pointer input to menu surface.

2012-10-08 Thread Scott Moreau
Now that I look into it more, it seems these patches break input/leave handlers because of the way they work. Will require further investigation. Scott ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailm

[PATCH weston 1/2 v2] Clip pointer input to menu surface.

2012-10-07 Thread Scott Moreau
Send motion events that are always relative to the menu and not the parent. Before, the events sent were relative to the parent if the pointer was not over the menu. This was also causing a menu item to be selected when clicking outside of the menu. --- v2: * Handle clipping in the client inst