mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
XQuartz: RandR: Don't change the rootless preference when changing RandR mode
Also renames a bunch of other variables for better consistency. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
721edc69c3
commit
229323a19b
15 changed files with 124 additions and 115 deletions
|
|
@ -239,9 +239,9 @@ static void DarwinEventHandler(int screenNum, InternalEvent *ie, DeviceIntPtr de
|
|||
|
||||
case kXquartzToggleFullscreen:
|
||||
DEBUG_LOG("kXquartzToggleFullscreen\n");
|
||||
if(quartzEnableRootless)
|
||||
if(XQuartzIsRootless)
|
||||
ErrorF("Ignoring kXquartzToggleFullscreen because of rootless mode.");
|
||||
else if (quartzHasRoot)
|
||||
else if (XQuartzHasRoot)
|
||||
QuartzHide();
|
||||
else
|
||||
QuartzShow();
|
||||
|
|
@ -250,7 +250,7 @@ static void DarwinEventHandler(int screenNum, InternalEvent *ie, DeviceIntPtr de
|
|||
case kXquartzSetRootless:
|
||||
DEBUG_LOG("kXquartzSetRootless\n");
|
||||
QuartzSetRootless(e->data[0]);
|
||||
if (!quartzEnableRootless && !quartzHasRoot)
|
||||
if (!XQuartzIsRootless && !XQuartzHasRoot)
|
||||
QuartzHide();
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue