mirror of
https://github.com/elementary/gala.git
synced 2024-10-05 19:27:25 +03:00
Increase the not-in-middle-detection a bit
This commit is contained in:
parent
5112d70298
commit
f559a43869
@ -256,7 +256,7 @@ namespace Gala
|
||||
unowned Rectangle rect;
|
||||
actor.meta_window.get_outer_rect (out rect);
|
||||
|
||||
if (rect.x < 50 && rect.y < 50) { //guess the window is placed at a bad spot
|
||||
if (rect.x < 100 && rect.y < 100) { //guess the window is placed at a bad spot
|
||||
int width, height;
|
||||
screen.get_size (out width, out height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user