aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJohn Hawthorn <jhawthor@uvic.ca>2008-06-13 23:58:15 -0700
committerJohn Hawthorn <jhawthor@uvic.ca>2008-06-13 23:58:15 -0700
commit79117a49ad8b913f16365e5fea4cf50aa9346f7f (patch)
tree5a2a3f3f9cadaccab6be32cd7168c9afa4d7d878 /src/main.c
parentab9fe4157144f5293311a036576d80be6016165d (diff)
downloadmirror-meh-79117a49ad8b913f16365e5fea4cf50aa9346f7f.tar.gz
mirror-meh-79117a49ad8b913f16365e5fea4cf50aa9346f7f.tar.bz2
mirror-meh-79117a49ad8b913f16365e5fea4cf50aa9346f7f.zip
whatever
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c116fab..41b09ce 100644
--- a/src/main.c
+++ b/src/main.c
@@ -206,6 +206,7 @@ void run(struct imagenode *image){
case MapNotify:
break;
case ConfigureNotify:
+ printf("ConfigureNotify\n");
if(width != event.xconfigure.width || height != event.xconfigure.height){
if(img){
free(img->data);
@@ -272,6 +273,7 @@ void run(struct imagenode *image){
free(tmp);
}
setaspect(bufwidth, bufheight);
+ printf("setaspect\n");
}
if(!img){
if(width * bufheight > height * bufwidth){
@@ -293,6 +295,7 @@ void run(struct imagenode *image){
yoffset = 0;
}
img = create_image_from_buffer(buf, imagewidth, imageheight, bufwidth, bufheight);
+ printf("img\n");
assert(img);
}
XFillRectangle(display, window, gc, 0, 0, fillw, fillh);