mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
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>
|
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
|
||||||
|
@ -1029,7 +1029,7 @@ paint_windows (MetaScreen *screen,
|
|||||||
cw->border_size = None;
|
cw->border_size = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if (cw->extents)
|
if (cw->extents)
|
||||||
{
|
{
|
||||||
XFixesDestroyRegion (xdisplay, cw->extents);
|
XFixesDestroyRegion (xdisplay, cw->extents);
|
||||||
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user