comparison src/frame.c @ 450:98528da0b7fc r21-2-40

Import from CVS: tag r21-2-40
author cvs
date Mon, 13 Aug 2007 11:39:20 +0200
parents 576fb035e263
children 223736d75acb
comparison
equal deleted inserted replaced
449:c83749d23eb5 450:98528da0b7fc
3005 /* sometimes we get passed a size that's too small (esp. when a 3005 /* sometimes we get passed a size that's too small (esp. when a
3006 client widget gets resized, since we have no control over this). 3006 client widget gets resized, since we have no control over this).
3007 So deal. */ 3007 So deal. */
3008 check_frame_size (f, &newheight, &newwidth); 3008 check_frame_size (f, &newheight, &newwidth);
3009 3009
3010 /* Unconditionally mark that the frame has changed size. This is
3011 because many things need to know after the
3012 fact. f->size_change_pending will get reset below. The most that
3013 can happen is that we will cycle through redisplay once more
3014 --andy. */
3015 MARK_FRAME_SIZE_CHANGED (f);
3016
3010 if (delay || in_display || gc_in_progress) 3017 if (delay || in_display || gc_in_progress)
3011 { 3018 {
3012 MARK_FRAME_SIZE_CHANGED (f);
3013 f->new_width = newwidth; 3019 f->new_width = newwidth;
3014 f->new_height = newheight; 3020 f->new_height = newheight;
3015 return; 3021 return;
3016 } 3022 }
3017 3023