mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
XQuartz: RandR: Add RandR modes for the primary display in multi-monitor configs
We now support using RandR to set the resolution of the primary display (and place a shielding window on other displays) in multi-monitor configurations. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
968652983f
commit
8cf3348e90
2 changed files with 7 additions and 10 deletions
|
|
@ -413,16 +413,6 @@ static Bool QuartzRandRGetInfo (ScreenPtr pScreen, Rotation *rotations) {
|
|||
if (pQuartzScreen->displayCount == 0)
|
||||
return FALSE;
|
||||
|
||||
if (pQuartzScreen->displayCount > 1) {
|
||||
/* RandR operations are not well-defined for an X11 screen spanning
|
||||
multiple CG displays. Create two entries for the current virtual
|
||||
resolution including/excluding the menu bar. */
|
||||
|
||||
QuartzRandRRegisterMode(pScreen, &pQuartzScreen->rootlessMode);
|
||||
QuartzRandRRegisterMode(pScreen, &pQuartzScreen->fullscreenMode);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return QuartzRandREnumerateModes(pScreen, QuartzRandRRegisterModeCallback, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue