From 9323189f7242b1d21ea015abcf7dc56e455c2276 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 5 Jan 2010 15:45:12 +1000 Subject: [PATCH] dix: EventToCore needs to copy the root window too. This value isn't actually set for normal events but it saves us some work for the record extension support. Signed-off-by: Peter Hutterer --- dix/eventconvert.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dix/eventconvert.c b/dix/eventconvert.c index e25f3ee..878dba5 100644 --- a/dix/eventconvert.c +++ b/dix/eventconvert.c @@ -119,6 +119,7 @@ EventToCore(InternalEvent *event, xEvent *core) core->u.keyButtonPointer.rootX = e->root_x; core->u.keyButtonPointer.rootY = e->root_y; core->u.keyButtonPointer.state = e->corestate; + core->u.keyButtonPointer.root = e->root; EventSetKeyRepeatFlag(core, (e->type == ET_KeyPress && e->key_repeat)); } break; -- 1.6.5.2