Update comments about clear-shadow

This commit is contained in:
Yuxuan Shui
2018-09-24 00:13:08 +01:00
parent 6f59367c00
commit 4da626639f
3 changed files with 15 additions and 44 deletions

View File

@ -407,12 +407,9 @@ void win_update_shape(session_t *ps, win *w) {
win_on_factor_change(ps, w);
/*
// If clear_shadow state on the window possibly changed, destroy the old
// shadow_pict
if (ps->o.clear_shadow && w->bounding_shaped != bounding_shaped_old)
free_paint(ps, &w->shadow_paint);
*/
// XXX Window shape changed, and if we didn't fill in the pixels
// behind the window (not implemented yet), we should rebuild
// the shadow_pict
}
}