summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-02-11 14:33:57 +0100
committerDennis kasprzyk <onestone@opencompositing.org>2008-02-11 14:33:57 +0100
commitc6c97b7aef958c5e1df642ab59c7c7b8c5b9abb4 (patch)
tree48b91588b5f871ca134f83052ab1fd0687687dc4
parent5afbd8dc666c05473ea8138f76fa3fa6293e79e0 (diff)
downloadmag-c6c97b7aef958c5e1df642ab59c7c7b8c5b9abb4.tar.gz
mag-c6c97b7aef958c5e1df642ab59c7c7b8c5b9abb4.tar.bz2
Damage screen if the mode changes.
-rw-r--r--mag.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mag.c b/mag.c
index bbf8794..6bc6568 100644
--- a/mag.c
+++ b/mag.c
@@ -275,7 +275,9 @@ magOptionsChanged (CompScreen *s,
default:
ms->mode = ModeSimple;
}
-
+
+ if (ms->zoom != 1.0)
+ damageScreen (s);
}
static void