diff options
Diffstat (limited to 'xorg-server/dix/grabs.c')
-rw-r--r-- | xorg-server/dix/grabs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xorg-server/dix/grabs.c b/xorg-server/dix/grabs.c index 2f05f5733..b775f117d 100644 --- a/xorg-server/dix/grabs.c +++ b/xorg-server/dix/grabs.c @@ -179,8 +179,7 @@ UngrabAllDevices(Bool kill_client) continue; PrintDeviceGrabInfo(dev); client = clients[CLIENT_ID(dev->deviceGrab.grab->resource)]; - if (!client || client->clientGone) - dev->deviceGrab.DeactivateGrab(dev); + dev->deviceGrab.DeactivateGrab(dev); if (kill_client) CloseDownClient(client); } |