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

2012-10-08 Thread Pekka Paalanen
On Sun, 7 Oct 2012 15:53:44 -0600 Scott Moreau wrote: > On Sun, Oct 7, 2012 at 3:46 PM, Pekka Vuorela wrote: > > > On su, 2012-10-07 at 15:12 -0600, Scott Moreau wrote: > > > > > > > > > On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela > > > wrote: > > > On su, 2012-10-07 at 04:28 -0600,

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

2012-10-07 Thread Scott Moreau
On Sun, Oct 7, 2012 at 3:46 PM, Pekka Vuorela wrote: > On su, 2012-10-07 at 15:12 -0600, Scott Moreau wrote: > > > > > > On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela > > wrote: > > On su, 2012-10-07 at 04:28 -0600, Scott Moreau wrote: > > > Don't send motion events to the surfa

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

2012-10-07 Thread Pekka Vuorela
On su, 2012-10-07 at 15:12 -0600, Scott Moreau wrote: > > > On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela > 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. > > Thi

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

2012-10-07 Thread Scott Moreau
On Sun, Oct 7, 2012 at 12:21 PM, Pekka Vuorela 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

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

2012-10-07 Thread Pekka Vuorela
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 woul

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

2012-10-07 Thread Scott Moreau
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. --- src/shell.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/shell.c b/src/shell.c index 1c44e39..e6c8ee9 100644 ---