Daniel Stone <[email protected]> (19/01/2012): > The kill_client argument to UngrabAllClients specifies if we want to > kill the client holding the grab or just deactivate the grab. > > Signed-off-by: Daniel Stone <[email protected]> > Reported-by: Julien Cristau <[email protected]>
Reviewed-by: Cyril Brulebois <[email protected]> > --- > dix/grabs.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/dix/grabs.c b/dix/grabs.c > index 701470c..cc2c946 100644 > --- a/dix/grabs.c > +++ b/dix/grabs.c > @@ -195,7 +195,8 @@ UngrabAllDevices(Bool kill_client) > client = clients[CLIENT_ID(dev->deviceGrab.grab->resource)]; > if (!client || client->clientGone) > dev->deviceGrab.DeactivateGrab(dev); > - CloseDownClient(client); > + if (kill_client) > + CloseDownClient(client); > } > > ErrorF("End list of ungrabbed devices\n"); Mraw, KiBi.
signature.asc
Description: Digital signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
