rendered paste bodystatic void
screenbsLockScreen (CompWindow *w,
const WindowPaintAttrib *attrib,
const CompTransform *transform,
Region region,
unsigned int mask)
{
Bool status;
SCREENBS_SCREEN (w->screen);
WindowPaintAttrib wAttrib = *attrib;
wAttrib.saturation = COLOR * 50 / 100;
wAttrib.brightness = BRIGHT * 20 / 100;
UNWRAP (hs, w->screen, paintWindow);
status = (*w->screen->paintWindow) (w, &wAttrib, transform, region, mask);
WRAP (hs, w->screen, paintWindow, screenbsLockScreen);
return status;
}