Commit e094dead authored by Florian Müllner's avatar Florian Müllner
Browse files

windowsNavigator: Adjust to gnome-shell change

Parts of WindowPreview were moved to C for performance reasons, which
turned a formerly private JS property into a GObject property.

#302

Part-of: <!170>
parent 6cdf86b6
Pipeline #273101 passed with stages
in 49 seconds
......@@ -84,17 +84,17 @@ class MyWorkspace extends Workspace.Workspace {
});
this._text.add_constraint(new Clutter.BindConstraint({
source: this._windowContainer,
source: this.windowContainer,
coordinate: Clutter.BindCoordinate.POSITION,
}));
this._text.add_constraint(new Clutter.AlignConstraint({
source: this._windowContainer,
source: this.windowContainer,
align_axis: Clutter.AlignAxis.X_AXIS,
pivot_point: new Graphene.Point({ x: 0.5, y: -1 }),
factor: this._closeButtonSide === St.Side.LEFT ? 1 : 0,
}));
this._text.add_constraint(new Clutter.AlignConstraint({
source: this._windowContainer,
source: this.windowContainer,
align_axis: Clutter.AlignAxis.Y_AXIS,
pivot_point: new Graphene.Point({ x: -1, y: 0.5 }),
factor: 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment