diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/window.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/core/window.c b/src/core/window.c index acd52200..004ac893 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -3267,10 +3267,10 @@ adjust_for_gravity (MetaWindow       *window,    if (borders)      { -      child_x = borders->total.left; -      child_y = borders->total.top; -      frame_width = child_x + rect->width + borders->total.left; -      frame_height = child_y + rect->height + borders->total.top; +      child_x = borders->visible.left; +      child_y = borders->visible.top; +      frame_width = child_x + rect->width + borders->visible.right; +      frame_height = child_y + rect->height + borders->visible.bottom;      }    else      { | 
