On su, 2012-10-07 at 15:12 -0600, Scott Moreau wrote: > > > On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela <[email protected]> > wrote: > On su, 2012-10-07 at 04:28 -0600, Scott Moreau wrote: > > Don't send motion events to the surface when the pointer is > not over the menu. > > This was also causing items to be selected when clicking > outside of the menu. > > > Wouldn't it be quite a lousy grab if only events on top of the > grabbing > window would be delivered? > > > Is there another way to determine this information from client side? > > Client knows the width of the menu and can ignore events based on that.
I was actually checking out why menu handling doesn't work properly a week ago and came across few other issues. First, it's not doing a real grab even though wl_shell_surface::set_popup defines one. Events only passed on top of client's surfaces. Second, mouse on top of main window passes events with coordinates relative to that. Created a bug report for those https://bugs.freedesktop.org/show_bug.cgi?id=55325 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
