mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 18:50:05 +01:00
XQuartz: Ignore kXquartzToggleFullscreen when rootless
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
71af1f71c0
commit
e5bc62a032
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue