http://gambaswiki.org/bugtracker/edit?object=BUG.2326&from=L21haW4- Comment #4 by Benoît MINISINI: If the program is run on X11, I get the same expected behaviour. So I don't see any problem here, except that Wayland seems to not support "stay behind" windows.