Gabriel Ivăncescu gabrielopcode@gmail.com writes:
Some applications control their own position when they are being moved. This means WindowPosChanged is called without an event.
Window Managers have their own way to deal with offscreen windows, and we have to respect that, if the window is managed. So let the WM handle this situation instead of unmapping the window ourselves.
The problem is that some window managers refuse to move windows offscreen, which is why we had to add an explicit unmap.