Re: [PATCH weston v2] shell: Don't send extra configure events on click

2016-02-16 Thread Bryce Harrington
On Wed, Feb 03, 2016 at 06:46:52PM -0800, Bryce Harrington wrote: > On Thu, Dec 10, 2015 at 01:08:01PM -0600, Derek Foreman wrote: > > The click_to_activate handler fires on every mouse click for a surface > > so let's be a little quicker to early return if you're clicking on the > > surface that a

Re: [PATCH weston v2] shell: Don't send extra configure events on click

2016-02-03 Thread Bryce Harrington
On Thu, Dec 10, 2015 at 01:08:01PM -0600, Derek Foreman wrote: > The click_to_activate handler fires on every mouse click for a surface > so let's be a little quicker to early return if you're clicking on the > surface that already has activation. > > This prevents (among other side effects) the s

[PATCH weston v2] shell: Don't send extra configure events on click

2015-12-10 Thread Derek Foreman
The click_to_activate handler fires on every mouse click for a surface so let's be a little quicker to early return if you're clicking on the surface that already has activation. This prevents (among other side effects) the sending of two xdg_configure events for every mouse click. This should al