weston/desktop-shell
Emmanuel Gil Peyrot 28834b6472 desktop-shell: Don’t reconfigure an already fullscreen surface
When we receive an wl_shell_surface::set_fullscreen request for a
surface that was already fullscreen, don’t do anything if the
parameters are the same as the initial request.

This prevents bogus or malicious clients from being able to always stay
on front by flooding the compositor with set_fullscreen requests after
the user has put them in the background with a mod+tab.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-05-19 17:52:46 -07: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 desktop-shell: Don’t reconfigure an already fullscreen surface 2016-05-19 17:52:46 -07:00
shell.h desktop-shell: Make zapping configurable 2016-01-12 09:24:05 -06:00