Fix leaking blur/contrast/region object
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.
Please register or sign in to comment