diff --git a/src/Main.vala b/src/Main.vala index cbe4bc4f..f96c5a77 100644 --- a/src/Main.vala +++ b/src/Main.vala @@ -276,8 +276,8 @@ namespace Gala if (rect.x < 100 && rect.y < 100) { //guess the window is placed at a bad spot actor.meta_window.move_frame (true, (int)(width/2.0f - rect.width/2.0f), (int)(height/2.0f - rect.height/2.0f)); - actor.x = width/2.0f - rect.width/2.0f; - actor.y = height/2.0f - rect.height/2.0f; + actor.x = width/2.0f - rect.width/2.0f - 10; + actor.y = height/2.0f - rect.height/2.0f - 10; } }