diff --git a/src/core/meta-cursor-tracker.c b/src/core/meta-cursor-tracker.c index 704295116..77a9898e4 100644 --- a/src/core/meta-cursor-tracker.c +++ b/src/core/meta-cursor-tracker.c @@ -299,6 +299,10 @@ void meta_cursor_tracker_set_pointer_visible (MetaCursorTracker *tracker, gboolean visible) { + if (visible == tracker->is_showing) + return; + tracker->is_showing = visible; + if (visible) XFixesShowCursor (tracker->screen->display->xdisplay, tracker->screen->xroot);