I just tried it and it doesn in fact work. With window-decorations off I don't get the black window after restoring it.
I just tried it and it doesn in fact work. With window-decorations off I don't get the black window after restoring it.