I've reworked #795:
- Now works in unity (on Ubuntu Ocelot)
- The other tray menu options also re-show the window in the correct way
- Delete dummy widget in destructor
- Commit message fixed
The main window jumps around when I change tabs, otherwise it's ok. (Ubuntu)
Ah, yes, it should only re-parent to the desktop when it's not parented to the desktop. I've fixed that now, please re-test.
Yes, it seems to work now.