That did the trick, zeljko. So, this is a Wayland bug which must be fixed by the WM?
It is not a
bug in Wayland: it is how Wayland is
designed!
But there were so many complaints that an additional API is (being) designed so that the many people with false pretences how Wayland
should work can be accommodated.
That means three things:
- The Wayland designers are not the best in communication (meaning they forgot to mention that it breaks existing application code on a huge scale)
- Lazarus should not, better, can not fix that, aside from tricks
- Some of the core Wayland design is now -soon- lost because the rest of the world wants the old ways. (a Windowed compositor with control over position)
In principle, Wayland is a much better design, but the world is not ready to accept that, so Wayland is going retro.
I have to admit it took me quite some time to grasp that. I was one of the complainers.
Doesn't mean there are no bugs in Wayland, but this is not one of them.