diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2008-06-13 23:58:15 -0700 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2008-06-13 23:58:15 -0700 |
commit | 79117a49ad8b913f16365e5fea4cf50aa9346f7f (patch) | |
tree | 5a2a3f3f9cadaccab6be32cd7168c9afa4d7d878 /src/main.c | |
parent | ab9fe4157144f5293311a036576d80be6016165d (diff) | |
download | mirror-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |