summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index 123f21f41..43f4e3796 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -4326,7 +4326,7 @@ EnterLeaveEvent(
#endif
{
event.u.enterLeave.state = (keybd) ? keybd->key->state : 0;
- event.u.enterLeave.state |+ mouse->button->state;
+ event.u.enterLeave.state |= mouse->button->state;
}
event.u.enterLeave.mode = mode;
focus = (keybd) ? keybd->focus->win : None;