Re: [PATCH 2/2] Terminate grabs when the client that initiated them exits

2012-03-28 Thread Kristian Høgsberg
Sorry, Ander, I dropped this one. What I wanted to say was that I'd like to handle it a little different. Instead of dropping the grab, I'd like the server to maintain the grab but just not send out events. When the button is released, we drop the grab and enter whatever surface is below the poi

Re: [PATCH 2/2] Terminate grabs when the client that initiated them exits

2012-03-27 Thread Ander Conselvan de Oliveira
Hi Kristian, Any comments about this one? Weston just crashed on me again because of this bug. Thanks, Ander On 03/02/2012 03:45 PM, Ander Conselvan de Oliveira wrote: Add a client parameter to wl_input_device_start_pointer_focus(). If it is non-nil, if that client terminates while the grab

[PATCH 2/2] Terminate grabs when the client that initiated them exits

2012-03-02 Thread Ander Conselvan de Oliveira
Add a client parameter to wl_input_device_start_pointer_focus(). If it is non-nil, if that client terminates while the grab is still active, the grab is ended and the current focus is set to NULL. --- src/data-device.c|3 ++- src/wayland-server.c | 28 +++- src/wa