summaryrefslogtreecommitdiff
path: root/xkb/ddxKillSrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkb/ddxKillSrv.c')
-rw-r--r--xkb/ddxKillSrv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xkb/ddxKillSrv.c b/xkb/ddxKillSrv.c
index a573ecbd8..3b5fd5353 100644
--- a/xkb/ddxKillSrv.c
+++ b/xkb/ddxKillSrv.c
@@ -41,6 +41,8 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
int
XkbDDXTerminateServer(DeviceIntPtr dev,KeyCode key,XkbAction *act)
{
- GiveUp(1);
+ if (dev != inputInfo.keyboard)
+ GiveUp(1);
+
return 0;
}