weston/desktop-shell
Derek Foreman bbde643ecd shell: Don't send extra configure events on click
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 also make having two seats with keyboards behave in the same
way as a single seat.  Previously the second seat could have a keyboard
focus on the surface and prevent some of the extra processing (including
the extra configure events) from taking place.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-02-16 21:55:46 -08:00
..
exposay.c Support axis source, axis discrete, frame and axis stop events 2016-01-19 12:33:26 +08:00
input-panel.c desktop-shell: Rename protocol weston_desktop_shell 2015-11-19 14:58:58 +02:00
shell.c shell: Don't send extra configure events on click 2016-02-16 21:55:46 -08:00
shell.h desktop-shell: Make zapping configurable 2016-01-12 09:24:05 -06:00