[gnome-shell] layout: Make the dummy cursor invisible
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Make the dummy cursor invisible
- Date: Fri, 27 Jun 2014 16:32:35 +0000 (UTC)
commit 41a3f1093857415cebae09ef158d0b2589f42861
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Jun 27 11:59:10 2014 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index faa10f6..789097e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]