diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2009-12-21 02:29:17 -0800 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2009-12-21 02:29:17 -0800 |
commit | 556d236a4f2bebbf17ac3f1bd11f0ceb7b7eab6e (patch) | |
tree | 999495db167bac8b01ffea0af8b66404c48622bd | |
parent | c97d443e62bd27755fa62e3f5dc8836c80ae5fc7 (diff) | |
download | mirror-meh-556d236a4f2bebbf17ac3f1bd11f0ceb7b7eab6e.tar.gz mirror-meh-556d236a4f2bebbf17ac3f1bd11f0ceb7b7eab6e.tar.bz2 mirror-meh-556d236a4f2bebbf17ac3f1bd11f0ceb7b7eab6e.zip |
don't rescale on expose events
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |