All pastes #635717 Raw Edit

Stuff

public text v1 · immutable
#635717 ·published 2007-07-27 09:55 UTC
rendered paste body
static 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;
}