diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index fd84a74f8..59c63c71e 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -787,7 +787,7 @@ class UIWindowSelectorWindow extends St.Button { this._cursor = null; this._cursorPoint = { x: 0, y: 0 }; - this._shouldShowCursor = actor.get_children().some(c => c.has_pointer); + this._shouldShowCursor = window.has_pointer && window.has_pointer(); this.connect('destroy', this._onDestroy.bind(this)); }