Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay (re-)creation of the mask image, uncouple from shadow image #1035

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Commits on Mar 12, 2023

  1. win: make mask bind/release delayed in the critical section

    Move the creation / binding of mask images into the critical section.
    Delay binding and release with `WINDOW_FLAGS_MASK_STALE` (part of
    `WINDOW_FLAGS_IMAGES_STALE`) analog to the handling of shadow images.
    
    No longer bind the mask image when creating the shadow as the mask might
    not have changed and therefore not been released before.
    
    Bind the mask before binding the shadow. Only bind when corner-radius is
    set or the window is shaped.
    
    related: 9d7cbe4
    tryone144 committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    932bbab View commit details
    Browse the repository at this point in the history