summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArvind Samptur <arvind.samptur@wipro.com>2003-01-06 04:40:11 +0000
committerArvind Samptur <arvind@src.gnome.org>2003-01-06 04:40:11 +0000
commite2155c8fee40cfbae319205bd40a2fd423bcb368 (patch)
tree8c4c4bda235526f49da769204763c9fac090ce22 /src
parent036747fba5facefff841a98f7414bbd3a4a1b4ab (diff)
downloadmetacity-e2155c8fee40cfbae319205bd40a2fd423bcb368.tar.gz
don't apply offscreen height difference. This would get the window under
2003-01-06 Arvind Samptur <arvind.samptur@wipro.com> * src/window.c: (constrain_position) don't apply offscreen height difference. This would get the window under the panel on a resize or a move. Fixes #102418
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 78e78259..8c4c626c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5873,8 +5873,6 @@ constrain_position (MetaWindow *window,
/* Now change NW limit to reflect amount offscreen in SE direction */
if (offscreen_w > 0)
nw_x -= offscreen_w;
- if (offscreen_h > 0)
- nw_y -= offscreen_h;
/* Limit movement off the right/bottom.
* Remember, we're constraining StaticGravity position.