[gnome-shell] layout: Use an invisible but mapped actor as dummy cursor
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Use an invisible but mapped actor as dummy cursor
- Date: Thu, 11 Apr 2019 19:43:26 +0000 (UTC)
commit 746875258dba5fbb1eac802b14732049e9b1c518
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Mon Mar 4 17:39:54 2019 -0600
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]