diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-07-25 22:29:11 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-08-12 20:26:36 -1000 |
commit | e5bc62a03289f956c54c4699edf47f7ff237b5be (patch) | |
tree | 032c55008d8486b8dd0e8e18fa1aa27262c778c5 /hw/xquartz | |
parent | 71af1f71c0492c365707c6b3810f94642ff39352 (diff) |
XQuartz: Ignore kXquartzToggleFullscreen when rootless
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'hw/xquartz')
-rw-r--r-- | hw/xquartz/darwinEvents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index 147b32a09..7b34b8a05 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -238,8 +238,8 @@ static void DarwinEventHandler(int screenNum, InternalEvent *ie, DeviceIntPtr de case kXquartzToggleFullscreen: DEBUG_LOG("kXquartzToggleFullscreen\n"); - if (quartzEnableRootless) - QuartzSetFullscreen(!quartzHasRoot); + if(quartzEnableRootless) + ErrorF("Ignoring kXquartzToggleFullscreen because of rootless mode."); else if (quartzHasRoot) QuartzHide(); else |