Don't set mark newly mapped windows as damaged. Fixes a shadow drawing

issue


svn path=/trunk/; revision=3499
This commit is contained in:
Iain Holmes 2007-12-27 23:11:43 +00:00
parent c96ae75437
commit e61015cb42
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-12-27 Iain Holmes <iain@gnome.org>
* src/core/compositor.c: When a window is mapped, don't set damaged to
TRUE. Fixes a bug when redrawing shadows.
2007-12-25 Iain Holmes <iain@gnome.org> 2007-12-25 Iain Holmes <iain@gnome.org>
* src/core/compositor.c: USe the compositor overlay window instead of * src/core/compositor.c: USe the compositor overlay window instead of

View File

@ -1453,7 +1453,7 @@ map_win (MetaDisplay *display,
#endif #endif
cw->attrs.map_state = IsViewable; cw->attrs.map_state = IsViewable;
cw->damaged = TRUE; cw->damaged = FALSE;
} }
static void static void