native-window-placement: Make sure that the border does not overlap the title

https://bugzilla.gnome.org/show_bug.cgi?id=758976
This commit is contained in:
Florian Müllner
2015-12-04 11:38:35 +01:00
parent 1634af39dc
commit 2b9ea7519b
@@ -409,6 +409,9 @@ function enable() {
Workspace.WindowOverlay.prototype.relayout = function(animate) {
winInjections['relayout'].call(this, animate);
let title = this.title;
let border = this.border;
this._parentActor.set_child_above_sibling(title, border);
Tweener.removeTweens(title);