• Vlad Zahorodnii's avatar
    effects: Disable blur and contrast effect when screen is locked · ed113171
    Vlad Zahorodnii authored
    The results of the blur and the background contrast effect will never
    be seen if the screen locker is active.
    
    In order to avoid wasting computational resources, we could temporarily
    disable the blur effect until the screen is unlocked.
    
    Furthermore, given that the blur effect shrinks the clip region, it is
    guaranteed that the compositor will have to render the desktop window
    behind the lockscreen window. With this change, all windows behind the
    screen locker will be properly clipped away.
    ed113171
contrast.h 2.77 KB