Dash-to-dock does work

Click to minimize does work in Ubuntu Unity 2204.
I remember something about having to install/activate Dash-To-Dock in gnome before installing Unity to have click to minimize from the launcher work.
The setting using dconf editor says minimize but doesn’t work.

Also after entering echo $XDG-CURRENT-DESKTOP I get -CURRENT-DESKTOP
instead of unity7

echo $DESKTOP_SESSION
unity

wmctrl -m
Name: Compiz
Class: N/A
PID: N/A
Window manager’s “showing the desktop” mode: OFF

desktop

I found the switch in CompizConfig