diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-02-15 14:28:17 +1030 |
---|---|---|
committer | Peter Hutterer <whot@hyena.localdomain> | 2007-02-15 14:28:17 +1030 |
commit | 1ab0fa01391156d96cf6d3adc1076ad5216ac23d (patch) | |
tree | bec9bb58d200609c1fcfc9170ff4f0270a2f3142 /src/XExtToWire.c | |
parent | 6a123cbfed985382f5b0c209d880dabeb8ee9733 (diff) |
Use flags byte in deviceEnterNotify and XDeviceCrossingEvents.
Diffstat (limited to 'src/XExtToWire.c')
-rw-r--r-- | src/XExtToWire.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/XExtToWire.c b/src/XExtToWire.c index 955f522..e0e9565 100644 --- a/src/XExtToWire.c +++ b/src/XExtToWire.c @@ -478,6 +478,13 @@ _XiEventToWire(dpy, re, event, count) elev->rootY = ev->y_root; elev->state = ev->state; elev->mode = ev->mode; + elev->flags = 0; + if (ev->same_screen) { + elev->flags |= ELFlagSameScreen; + } + if (ev->focus) { + elev->flags |= ELFlagFocus; + } break; } case XI_PointerKeyboardPairingChangedNotify: |