<div><div dir="auto">I think you can’t unless the taskbar takes the keyboard focus. In that case I guess it is best to do it as you first suggested on a mouse button event.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 25 May 2020 at 2:42 AM, Dan Norton via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Ahah. Now I can get it to work if the context is inside the window<br>
itself, not on the title bar. How can we extend KeyboardEvent >><br>
closeCurrentWindowOf: to delete the morph referred to by the<br>
HoverableButtonMorph?<br>
<br>
On Sun, 24 May 2020 20:54:29 +0200<br>
Hilaire Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<br>
<br>
> For what it worth, it works on Ubuntu 20.04 and Cuis 4112.<br>
> <br>
> Le 24/05/2020 à 20:09, Dan Norton via Cuis-dev a écrit :<br>
> > Thanks, but ctrl-w does not work either on Debian Linux with Xfce.<br>
> > What's needed is something independent of OS/window manager. There<br>
> > is a #mouseButton2Activity method for the task bar, away from the<br>
> > buttons. Maybe it could detect being over a button somehow...  <br>
> <br>
<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>