diff options
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/xibarriers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xi/xibarriers.c b/Xi/xibarriers.c index 104280c62..048af62a2 100644 --- a/Xi/xibarriers.c +++ b/Xi/xibarriers.c @@ -407,6 +407,8 @@ input_constrain_cursor(DeviceIntPtr dev, ScreenPtr screen, ev.window = c->window->drawable.id; c->last_timestamp = ms; + /* root x/y is filled in later */ + barrier_events->barrier_event = ev; barrier_events++; *nevents += 1; @@ -436,6 +438,8 @@ input_constrain_cursor(DeviceIntPtr dev, ScreenPtr screen, ev.window = c->window->drawable.id; c->last_timestamp = ms; + /* root x/y is filled in later */ + barrier_events->barrier_event = ev; barrier_events++; *nevents += 1; |