Hi,<div><br></div><div>Attached patch fixes <span style="background-color:transparent"><a href="http://bugs.winehq.org/show_bug.cgi?id=28678" target="_blank">http://bugs.winehq.org/show_bug.cgi?id=28678</a>.</span></div><div>

<div><br></div>
<div>The root problem is that X11 windows cannot be made transparent (allowing other windows to draw over them). My approach I to make the X11 window with WS_EX_TRANSPARENT extended style have an empty region.</div><div>

<br>
</div><div>Obviously, this is very hacky and except for very particular cases (like the bug I'm trying to fix) it won't work at all, so this patch is more like a proof-of-concept than a fix. For example, window decorations aren't drawn and not even the window can paint itself. This becomes kind of a recursive question -- how to draw the contents of the window-less window?</div>


<div><br></div><div>Can this approach ever work? Any comments or suggestions are welcome.</div><div><br></div><div>Octavian</div><div><br></div>
</div>