qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Xavier Gnata <gnata@obs.univ-lyon1.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] RFC : disable SDL window close capability\n
Date: Mon, 23 Oct 2006 22:59:58 +0200	[thread overview]
Message-ID: <453D2D4E.8080208@obs.univ-lyon1.fr> (raw)
In-Reply-To: <1161634107.2976.3.camel@mjolnir>

John Morris wrote:
> On Mon, 2006-10-23 at 05:45, Xavier Gnata wrote:
>   
>> Hi,
>> I have been asked to disable the capability to close qemu by clicking on 
>> the SDL window x icon.
>> Any comments?
>>     
>
> Totally disabling close is pretty drastic.  When the VM has went wrong
> closing it is a valid option.  How about trapping close and throwing up
> an "Are you sure?" dialog?  Give enough info to let a new user know that
> clicking the "Yes" button might corrupt the VM's filesystem and cause
> other permanent data loss.
>
>   
Well, it is not too drastic because my patch only adds an option. You 
can just ignore this -no-quit option.
A popup would be good solution but sdl API does not offer a way to deal 
with that :(
sdl is not done to implement buttons and so on.
An osd could be a solution but do we really need that? Not sure.
Please note that is something went wrong with the OS running under qeum 
-no-quit, you can still just (x)kill qemu. Simple.
Any comments ?

-- 
############################################
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: gnata@obs.univ-lyon1.fr
############################################ 

      reply	other threads:[~2006-10-23 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23 10:45 [Qemu-devel] RFC : disable SDL window close capability\n Xavier Gnata
2006-10-23 12:33 ` Aurelien Jarno
2006-10-23 20:08 ` John Morris
2006-10-23 20:59   ` Xavier Gnata [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453D2D4E.8080208@obs.univ-lyon1.fr \
    --to=gnata@obs.univ-lyon1.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).