diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-08-19 19:47:42 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-08-19 19:47:42 -0700 |
commit | 34bbbe0377efa6e01d83899fc3876cef9f132d83 (patch) | |
tree | b64a9b33550c61ab8164a58f127d76a8ebdc8cdf | |
parent | 2d557683f4e791b8bbf3f0cd6dfb99055772e680 (diff) |
XQuartz: Ignore kXquartzToggleFullscreen when rootless
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit e5bc62a03289f956c54c4699edf47f7ff237b5be)
Conflicts:
hw/xquartz/darwinEvents.c
-rw-r--r-- | hw/xquartz/darwinEvents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index e03454a50..28ad680ee 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -243,7 +243,7 @@ static void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev, in case kXquartzToggleFullscreen: DEBUG_LOG("kXquartzToggleFullscreen\n"); if (quartzEnableRootless) - QuartzSetFullscreen(!quartzHasRoot); + ErrorF("Ignoring kXquartzToggleFullscreen because of rootless mode."); else if (quartzHasRoot) QuartzHide(); else |