summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/resize.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-13 17:26:10 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-13 17:26:10 +0000
commit95720edddc6f1af328f6891a0696d65da4b7dab4 (patch)
tree01ea131ad0c8516b8e5ae1abf6406de8c811350b /beryl-plugins/src/resize.c
parent7ce11ba5af6d14d8b23ab285d182a1a97f5340ae (diff)
downloadmarex-dev-95720edddc6f1af328f6891a0696d65da4b7dab4.tar.gz
marex-dev-95720edddc6f1af328f6891a0696d65da4b7dab4.tar.bz2
resize plugin: fix stretched drawing
git-svn-id: file:///beryl/trunk@1721 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/resize.c')
-rw-r--r--beryl-plugins/src/resize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/beryl-plugins/src/resize.c b/beryl-plugins/src/resize.c
index ed53dac..fbd14e1 100644
--- a/beryl-plugins/src/resize.c
+++ b/beryl-plugins/src/resize.c
@@ -1022,6 +1022,10 @@ static Bool resizePaintScreen(CompScreen * s,
Bool status = FALSE;
RESIZE_SCREEN (s);
+ RESIZE_DISPLAY (s->display);
+
+ if (rd->w && rd->resizeMode == ResizeModeStretch)
+ mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_MASK;
rs->wasTransformed = FALSE;