<br><br><div><span class="gmail_quote">On 8/29/07, <b class="gmail_sendername">Brian Brown</b> &lt;<a href="mailto:rbb@techgame.net">rbb@techgame.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Aug 28, 2007, at 8:43 AM, Brad Fuller wrote:<br><br>&gt; On Mon August 27 2007, Michael van der Gulik wrote:<br>&gt;&gt; On 8/28/07, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>
&gt; wrote:<br>&gt;&gt;&gt; On Aug 27, 2007, at 16:38 , Brad Fuller wrote:<br>&gt;&gt;&gt;&gt; Before I dig into this, I bet someone has already investigated this<br>&gt;&gt;&gt;&gt; and<br>&gt;&gt;&gt;&gt; decided it can&#39;t be done. When you close the Squeak with the
<br>&gt;&gt;&gt;&gt; desktop<br>&gt;&gt;&gt;&gt; manager&#39;s &quot;Close Window&quot; (the &quot;X&quot;), squeak closes without a<br>&gt;&gt;&gt;&gt; confirmation<br>&gt;&gt;&gt;&gt; dialog. Windows has an &quot;Are you sure?&quot; and I expect the Mac version
<br>&gt;&gt;&gt;&gt; does too.<br>&gt;&gt;&gt;&gt; Why not Linux?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; It would add considerably to the complexity of the X11 VM - Xlib<br>&gt;&gt;&gt; does<br>&gt;&gt;&gt; not provide a dialog box call, whereas Win and Mac libraries do.
<br>&gt;&gt;<br>&gt;&gt; Would it be possible to send an event/message back to the VM so<br>&gt;&gt; that the<br>&gt;&gt; image could pop up a Morphic-based dialog box?<br>&gt;<br>&gt; Yeah, that would be the best because the experience would be
<br>&gt; (potentially)<br>&gt; more consistent across platforms. I&#39;ve never written a Linux app,<br>&gt; except<br>&gt; Squeak plugin - so I would have to figure out how to do it. It just<br>&gt; seems we<br>&gt; should have a confirmation so a user doesn&#39;t accidentally hit the
<br>&gt; &quot;X&quot; when<br>&gt; s/he meant to hit the &quot;Maximize&quot; icon.<br>&gt;<br>&gt; In fact, I&#39;m now thinking this should be labelled a defect. What do<br>&gt; you think?</blockquote><div><br>If the user is likely to lose data, then yes.
<br><br>I usually use Squeak full-screen, and IceWM asks me for confirmation anyway.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I *think* this issue with this is that Squeak has no visibility into<br>those Window Manager functions. I hope I&#39;m incorrect, but the window<br>close message will happen and Squeak won&#39;t know about it.<br><br>
</blockquote></div><br>It can be done...&nbsp; see here: <br><a href="http://www.tronche.com/gui/x/icccm/sec-4.html#s-4.2.8.1">http://www.tronche.com/gui/x/icccm/sec-4.html#s-4.2.8.1</a><br><br>Michael.<br>