Fix regression after mutter commit 254afc50223a707c3afa7c9f638681199f41809e

The "old and unused API" was not so unused after all :)