From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gbyzq-0000Mg-Kz for qemu-devel@nongnu.org; Mon, 23 Oct 2006 08:33:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gbyzn-0000Hg-Sa for qemu-devel@nongnu.org; Mon, 23 Oct 2006 08:33:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gbyzn-0000HK-LY for qemu-devel@nongnu.org; Mon, 23 Oct 2006 08:33:35 -0400 Received: from [82.232.2.251] (helo=farad.aurel32.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gbyzn-0006L0-Ej for qemu-devel@nongnu.org; Mon, 23 Oct 2006 08:33:35 -0400 Received: from anguille.univ-lyon1.fr ([134.214.4.207]) by farad.aurel32.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Gbyzl-00014K-Cc for qemu-devel@nongnu.org; Mon, 23 Oct 2006 14:33:33 +0200 Message-ID: <453CB68E.1000302@aurel32.net> Date: Mon, 23 Oct 2006 14:33:18 +0200 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] RFC : disable SDL window close capability\n References: <453C9D57.7020409@obs.univ-lyon1.fr> In-Reply-To: <453C9D57.7020409@obs.univ-lyon1.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Xavier Gnata a écrit : > Hi, Hi, > I have been asked to disable the capability to close qemu by clicking on > the SDL window x icon. > The goal is to avoid lay users to shutdown the running OS under Qemu in > a not clean way. > The patch is pretty simple. It adds a runtime -no-quit option. > This patch looks very interesting. I have tried it, and it also disables the effect of ALT+F4. I often mistakenly close my QEMU when I want to close a window in the emulated system with ALT+F4, without pressing CTRL+ALT first... -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net