weston/clients
Derek Foreman 673bbe2e8c clients: ungrab the correct input when menus close
We need to input_ungrab() on the stored input, not the one that caused
the release - otherwise bad things can happen in multi-seat environments
when a seat that didn't open the menu closes it.

To reproduce:
 configure two seats
 launch weston terminal
 open the right click pop up
 select a menu item from the other seat

The next click from the seat that opened the menu will cause a segfault.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2015-09-22 18:22:28 -07:00
..
calibrator.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
clickdot.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
cliptest.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
desktop-shell.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
dnd.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
editor.c Use [x]zalloc instead of [x]malloc + memset 2015-08-07 11:59:10 -07:00
eventdemo.c Coding style fixes 2015-08-07 12:01:22 -07:00
flower.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
fullscreen.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
gears.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
image.c clients: Fix height typo in clamp_view() 2015-09-09 10:07:27 +03:00
ivi-shell-user-interface.c Coding style fixes 2015-08-07 12:01:22 -07:00
keyboard.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
multi-resource.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
nested-client.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
nested.c Moved the MIN() macro to the helper include. 2015-06-15 17:11:52 -07:00
presentation-shm.c presentation-shm: Allow setting of delay before surface.commit 2015-07-16 13:51:03 +03:00
resizor.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
scaler.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
screenshot.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-damage.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-dmabuf.c clients: add simple-dmabuf client 2015-08-14 15:53:26 +03:00
simple-egl.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-shm.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-touch.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
smoke.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
stacking.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
subsurfaces.c Use [x]zalloc instead of [x]malloc + memset 2015-08-07 11:59:10 -07:00
terminal.c terminal: Don't crash when selecting non-ascii characters 2015-09-10 10:07:16 +03:00
transformed.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
weston-info.c Moved the MIN() macro to the helper include. 2015-06-15 17:11:52 -07:00
weston-simple-im.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
window.c clients: ungrab the correct input when menus close 2015-09-22 18:22:28 -07:00
window.h Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00