[PATCH 0/2] More grab related fixes
Ander Conselvan de Oliveira
conselvan2 at gmail.com
Fri Mar 2 05:45:55 PST 2012
Hi,
A few more grab/drag related fixes.
The first patch makes a drag grab terminate if the data source for it
goes away.
The other two (one for wayland core and one for weston), change the
start_pointer_grab interface to take a client parameter. If this
parameter in not NULL, the grab will be terminated if the client dies
while the grab is still active and the current focus will be set NULL.
These patches fix weston crashes caused by clients dying when resizing,
moving and drag and dropping. To test the issues, I forced the clients
to die with exit(1) just after the grabs start.
Ander Conselvan de Oliveira (2):
Terminate drag if data source is destroyed
Terminate grabs when the client that initiated them exits
src/data-device.c | 59 +++++++++++++++++++++++++++++++++++--------------
src/wayland-server.c | 28 ++++++++++++++++++++++-
src/wayland-server.h | 5 +++-
3 files changed, 73 insertions(+), 19 deletions(-)
Plus the following patch for weston:
Ander Conselvan de Oliveira (1):
shell: pass client to start_pointer_grab
--
1.7.5.4
More information about the wayland-devel
mailing list