Rootless mode initialize in CreateWindow, and clean up in DestroyWindow.
But DestroyWindow is seldom called(I don't know why), so we can't delete HRGN
and resource leaks.

In XDarwin, it seems that they use RootlessRealizeWindow/RootlessUnrealizeWindow.

We will need to move code to winMapWindowPRootless/winUnmapWindowPRootless.

Kensuke Matsuzaki

Reply via email to