Skip to content

Commit

Permalink
Xserver/randr/rrinfo.cc: Don't call RRScanOldConfig() from RANDR_10_I…
Browse files Browse the repository at this point in the history
…NTERFACE. CRTC and OUTPUT setup happens in nxagent's Screen.c file.

 Fixes ArcticaProject#293.
  • Loading branch information
sunweaver committed Feb 4, 2017
1 parent 1cd73cc commit 028bd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-X11/programs/Xserver/randr/rrinfo.c
Expand Up @@ -201,7 +201,7 @@ RRGetInfo(ScreenPtr pScreen, Bool force_query)
if (!(*pScrPriv->rrGetInfo) (pScreen, &rotations))
return FALSE;

#if RANDR_10_INTERFACE
#if defined(RANDR_10_INTERFACE) && !defined(NXAGENT_SERVER)
if (pScrPriv->nSizes)
RRScanOldConfig(pScreen, rotations);
#endif
Expand Down

2 comments on commit 028bd2b

@uli42
Copy link

@uli42 uli42 commented on 028bd2b Feb 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. This means nxagent will not work properly if xinerama is disabled, right?

@sunweaver
Copy link
Owner Author

@sunweaver sunweaver commented on 028bd2b Feb 4, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.