`m_virtualDesktopInfo->currentDesktop()` will be regarded as a static
value in `std::bind`, which prevents the current desktop from being
updated, so use lambda instead.
BUG: 459199
FIXED-IN: 5.26
(cherry picked from commit eb3483123e)
This reverts commit 17774bc4c6
There is still a known culprit (duplicate display names) so the hack shouldn't be reverted.
CCBUG: 353975
CCBUG: 438114
(cherry picked from commit 9c7ac7061c)