Don't set mark newly mapped windows as damaged. Fixes a shadow drawing
issue svn path=/trunk/; revision=3499
This commit is contained in:
parent
c96ae75437
commit
e61015cb42
@ -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>
|
||||
|
||||
* src/core/compositor.c: USe the compositor overlay window instead of
|
||||
|
@ -1029,7 +1029,7 @@ paint_windows (MetaScreen *screen,
|
||||
cw->border_size = None;
|
||||
}
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
if (cw->extents)
|
||||
{
|
||||
XFixesDestroyRegion (xdisplay, cw->extents);
|
||||
@ -1453,7 +1453,7 @@ map_win (MetaDisplay *display,
|
||||
#endif
|
||||
|
||||
cw->attrs.map_state = IsViewable;
|
||||
cw->damaged = TRUE;
|
||||
cw->damaged = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user