layout: Make the dummy cursor invisible

This means that moving it around won't attempt to cause a full redraw of
the stage. Yikes.
This commit is contained in:
Jasper St. Pierre 2014-06-27 11:59:10 -04:00
parent d850c8599e
commit 41a3f10938

View File

@ -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);