compositor: Make pointers visible when an output is unplugged

Graphics / Wayland / Weston - Ander Conselvan de Oliveira [intel.com] - 16 December 2013 19:23 UTC

Previously, if a pointer was inside an output that was unplugged, it could potentialy end up outside any valid output forever. With this patch, the pointer is moved to the "closest" output to the pointer.

54e90c7 compositor: Make pointers visible when an output is unplugged
src/compositor.c | 15 +++++++++++
src/compositor.h | 2 ++
src/input.c | 76 +++++++++++++++++++++++++++++++++++++++++++++---------
3 files changed, 81 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share