Looking at Mir's SurfaceInputDispatcher::deliver_pointer,

        auto target = find_target_surface(event_x_y);
        printf("input event target %p, pos: (%d,%d)\n", target.get(), 
event_x_y.x.as_int(), event_x_y.y.as_int());

prints this when hitting the barrier:
 input event target 0x562470, pos: (1177,323)
 input event target (nil), pos: (1213,323)
that is with mouse only about 300 pixels across the screen.

But I guess the real problem is that the Mir cursor coordinate is
outside the physical display space, i.e. it should go beyond x=1200, and
thus always be over the unity8 surface. Unity8 reads the cursor movement
delta, not the position, to position its cursor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580774

Title:
  mouse is getting stuck on a phantom edge

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1580774/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to