From 746875258dba5fbb1eac802b14732049e9b1c518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 4 Mar 2019 17:39:54 -0600 Subject: [PATCH] layout: Use an invisible but mapped actor as dummy cursor Since this could be used as boxpointer source, it should be marked as mapped, or it will be ignored. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/435 --- js/ui/layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index e3c93a923..30e750dc5 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -252,7 +252,7 @@ var LayoutManager = GObject.registerClass({ // A dummy actor that tracks the mouse or text cursor, based on the // position and size set in setDummyCursorGeometry. - this.dummyCursor = new St.Widget({ width: 0, height: 0, visible: false }); + this.dummyCursor = new St.Widget({ width: 0, height: 0, opacity: 0 }); this.uiGroup.add_actor(this.dummyCursor); global.stage.remove_actor(global.top_window_group);