Yes this environment variable is set by gnome-session.
In fact, this Cairo-Dock session is like the former Gnome Panel session but with another panel. So I guess we can see it as a Gnome Fallback session where XDG_CURRENT_DESKTOP=GNOME and DESKTOP_SESSION is not set to gnome (but gnome-fallback or something like that).
This is why I think the question should be: do we have to re-enable the traditional titlebar on Gnome Fallback sessions too?
Currently, when using Compiz on a Gnome session, it's not possible to easily resize the window (except with Alt+middle click)
Yes this environment variable is set by gnome-session. DESKTOP= GNOME and DESKTOP_SESSION is not set to gnome (but gnome-fallback or something like that).
In fact, this Cairo-Dock session is like the former Gnome Panel session but with another panel. So I guess we can see it as a Gnome Fallback session where XDG_CURRENT_
This is why I think the question should be: do we have to re-enable the traditional titlebar on Gnome Fallback sessions too?
Currently, when using Compiz on a Gnome session, it's not possible to easily resize the window (except with Alt+middle click)