Give focus to desktop on empty desktop
This patch ensures that the desktop will have the focus when the user changes into an empty virtual desktop. This will be useful for autosearch.
It also tries to fix the bug where, when changing from a virtual desktop into another, the icons are shown over other windows.