mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 10:56:10 +00:00
WA_TransparentForMouseEvents does nothing for a top-level window: Qt takes the click and then drops it, so it still never reaches whatever is underneath. Since the window stays mapped while idle, that turned its corner of the screen into a dead zone for good. Qt::WindowTransparentForInput is the one that leaves the window without an input region at all. The dismissable one has to keep taking clicks, and the flag is read once when the window is created, so it shrinks to a point while concealed instead. Resizing keeps the surface alive, which is the whole reason concealing does not simply hide it.