diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-01-05 16:31:37 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-01-25 09:02:29 +1300 |
commit | 0f2d297dedeff8bd227df4c498cc668b0e902344 (patch) | |
tree | 3281e0864da834204536d2499837183a57d5b882 /dix | |
parent | 6f6a99abc12ddee82898fdabfb50c17e90e094b9 (diff) |
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 <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/eventconvert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c index e25f3ee97..878dba576 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; |