summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-12-28 19:03:20 +0100
committerDanny Baumann <dannybaumann@web.de>2008-12-28 19:03:20 +0100
commit23a626a1d63d470c33eed5c787acd79dd3b14b7b (patch)
treef032d70733ea4f4a8519d949f11aa08de98d0378
parent2198f056cce3f6426eee9b6be3f6ffc2bfd8f7c9 (diff)
downloadput-23a626a1d63d470c33eed5c787acd79dd3b14b7b.tar.gz
put-23a626a1d63d470c33eed5c787acd79dd3b14b7b.tar.bz2
Don't constrain fullscreen windows to work area.
-rw-r--r--put.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/put.c b/put.c
index 314652a..a9a98d0 100644
--- a/put.c
+++ b/put.c
@@ -615,7 +615,8 @@ putGetDistance (CompWindow *w,
break;
}
- if ((dx || dy) && putGetAvoidOffscreen (s))
+ if ((dx || dy) && putGetAvoidOffscreen (s) &&
+ !(w->type & CompWindowTypeFullscreenMask))
{
/* avoids window borders offscreen, but allow full
viewport movements */