diff options
author | marha <marha@users.sourceforge.net> | 2011-07-26 08:40:06 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-07-26 08:40:06 +0200 |
commit | a9621bcc79c7e3bf09a68dd72460708c3a884793 (patch) | |
tree | 80598249a8b6930ca8df2ad07ca163b5ce279d5e /xorg-server/dix | |
parent | 7e1bec71f64f17d476db9bdc19939458ec04d785 (diff) | |
download | vcxsrv-a9621bcc79c7e3bf09a68dd72460708c3a884793.tar.gz vcxsrv-a9621bcc79c7e3bf09a68dd72460708c3a884793.tar.bz2 vcxsrv-a9621bcc79c7e3bf09a68dd72460708c3a884793.zip |
Fix for possible run-time type cast problem in debug
Diffstat (limited to 'xorg-server/dix')
-rw-r--r-- | xorg-server/dix/eventconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/dix/eventconvert.c b/xorg-server/dix/eventconvert.c index 5196071e1..5fbaa4cf9 100644 --- a/xorg-server/dix/eventconvert.c +++ b/xorg-server/dix/eventconvert.c @@ -140,7 +140,7 @@ EventToCore(InternalEvent *event, xEvent **core_out, int *count_out) core->u.keyButtonPointer.time = e->time;
core->u.keyButtonPointer.rootX = e->root_x;
core->u.keyButtonPointer.rootY = e->root_y;
- core->u.keyButtonPointer.state = e->corestate;
+ core->u.keyButtonPointer.state = e->corestate&0xffff;
core->u.keyButtonPointer.root = e->root;
EventSetKeyRepeatFlag(core,
(e->type == ET_KeyPress &&
|