diff options
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c index 86aa24f17..0ff8308f2 100644 --- a/dix/events.c +++ b/dix/events.c @@ -5003,6 +5003,7 @@ ProcUngrabKey(ClientPtr client) tempGrab.modifiersDetail.pMask = NULL; tempGrab.modifierDevice = GetPairedDevice(keybd); tempGrab.type = KeyPress; + tempGrab.grabtype = GRABTYPE_CORE; tempGrab.detail.exact = stuff->key; tempGrab.detail.pMask = NULL; tempGrab.next = NULL; @@ -5197,6 +5198,7 @@ ProcUngrabButton(ClientPtr client) tempGrab.modifierDevice = GetPairedDevice(ptr); tempGrab.type = ButtonPress; tempGrab.detail.exact = stuff->button; + tempGrab.grabtype = GRABTYPE_CORE; tempGrab.detail.pMask = NULL; tempGrab.next = NULL; |