From 41a3f1093857415cebae09ef158d0b2589f42861 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 27 Jun 2014 11:59:10 -0400 Subject: [PATCH] layout: Make the dummy cursor invisible This means that moving it around won't attempt to cause a full redraw of the stage. Yikes. --- 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 faa10f601..789097e1d 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -224,7 +224,7 @@ const LayoutManager = new Lang.Class({ // 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 }); + this.dummyCursor = new St.Widget({ width: 0, height: 0, visible: false }); this.uiGroup.add_actor(this.dummyCursor); global.stage.remove_actor(global.top_window_group);