summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Byer <bbyer@bbyer.apple.com>2007-11-08 22:17:38 -0800
committerJeremy Huddleston <jeremy@tifa.local>2007-11-21 23:15:26 -0800
commit512dee90878e552ad1b2bb5b27366707f6464f28 (patch)
treec31cd375d0d8ff59d2fdfbab8126b311f2c68abf
parent28e73e99a9a59223963312c5dd43ce5566d1db9d (diff)
Darwin: fix for spurious "Are you sure you want to quit?" message
(cherry picked from commit 30cbfc786e4fedda3fe070bacceabe1d9212d00b)
-rw-r--r--hw/darwin/quartz/quartz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/darwin/quartz/quartz.c b/hw/darwin/quartz/quartz.c
index ac1c347d1..8565e347e 100644
--- a/hw/darwin/quartz/quartz.c
+++ b/hw/darwin/quartz/quartz.c
@@ -189,6 +189,7 @@ void DarwinModeInitInput(
int argc,
char **argv )
{
+ X11ApplicationSetCanQuit(1);
X11ApplicationServerReady();
// Do final display mode specific initialization before handling events
if (quartzProcs->InitInput)