Skip to content
Commit ec50257d authored by Xuetian Weng's avatar Xuetian Weng
Browse files

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.
parent e0ad4e07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment