Skip to content
  • Xuetian Weng's avatar
    Fix leaking blur/contrast/region object · 0e502d80
    Xuetian Weng authored
    Blur/Contrast object does not need to be re-created everytime install a new
    blur. Otherwise blur/contrast object will be recreated everytime the window is
    resized, which would cause leaking in both compositor and client.
    
    Also, setRegion does not take over the ownership of wl_region, need to
    destroy it afterwards.
    0e502d80