summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@src.gnome.org>2002-07-24 23:23:51 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-07-24 23:23:51 +0000
commit98c3b06ffd010be6cc5dc099436b503818609d9b (patch)
tree16f11a9a8a1c4f616e6d6aabce78f45c39d8b000 /src/window.c
parent1af2020151bb1d1e84d8be9c960e1a1a80f27759 (diff)
downloadmetacity-98c3b06ffd010be6cc5dc099436b503818609d9b.tar.gz
metacity-98c3b06ffd010be6cc5dc099436b503818609d9b.tar.bz2
sync
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 54e989f..157eea2 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5347,6 +5347,10 @@ constrain_position (MetaWindow *window,
/* find furthest northwest point the window can occupy */
nw_x = work_area.x;
nw_y = work_area.y;
+
+ /* FIXME note this means framed windows can go off the left
+ * but not unframed windows.
+ */
if (window->frame)
{
/* Must keep TITLEBAR_LENGTH_ONSCREEN onscreen when moving left */