|
From: | Xavier Gnata |
Subject: | Re: [Qemu-devel] RFC : disable SDL window close capability\n |
Date: | Mon, 23 Oct 2006 22:59:58 +0200 |
User-agent: | Icedove 1.5.0.7 (X11/20061013) |
John Morris wrote:
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 :(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.
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: address@hidden############################################
[Prev in Thread] | Current Thread | [Next in Thread] |