<div dir="ltr"><div dir="ltr">On Thu, Apr 22, 2021 at 3:28 AM Platon Pronko <<a href="mailto:platon7pronko@gmail.com">platon7pronko@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It seems that this could be happening due to XMonad being non-reparenting (I ran the same app under XFCE, and it seems to work okay).<br></blockquote><div><br></div><div>This would not surprise me; it looks like they use Mono on Linux/Mac, and as yet there is no way to tell Mono that the window manager is non-reparenting so canvas widgets get messed up (they can't find themselves, since X11 uses window-relative addressing instead of screen-relative like Windows/.NET).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Any idea about what am I missing? Maybe my event masks are wrong?<br></blockquote></div><div><br></div><div>You probably want all of the button-related events (see <a href="https://tronche.com/gui/x/xlib/events/mask.html">https://tronche.com/gui/x/xlib/events/mask.html</a>) so they'll be passed on to the child window.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div></div>