From 556d236a4f2bebbf17ac3f1bd11f0ceb7b7eab6e Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Mon, 21 Dec 2009 02:29:17 -0800 Subject: don't rescale on expose events --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 8bbaa1c..19c1646 100644 --- a/src/main.c +++ b/src/main.c @@ -138,10 +138,10 @@ void handleevent(XEvent *event){ break; case Expose: if(curimg){ - if(curimg->state >= LOADED) - curimg->state = LOADED; - else if(curimg->state > FASTLOADED) - curimg->state = FASTLOADED; + if(curimg->state >= SCALED) + curimg->state = SCALED; + else if(curimg->state > FASTSCALED) + curimg->state = FASTSCALED; } break; case KeyPress: -- cgit v1.2.3