Skip to content

Commit

Permalink
set maximum randr resolution to 32767x32767
Browse files Browse the repository at this point in the history
fixes parts of #472
  • Loading branch information
uli42 committed Jul 11, 2017
1 parent a517c5a commit 615bf96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nx-X11/programs/Xserver/hw/nxagent/Extensions.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ static int nxagentRandRInitSizes(ScreenPtr pScreen)
1024, 768, 900, 900, 1200, 1050, 1080, 1200, 0, 0};
*/
int w[] = {0, 320, 640, 640, 800, 800, 1024, 1024, 1152, 1280, 1280, 1280, 1360,
1440, 1600, 1600, 1680, 1920, 1920, 0, 0};
1440, 1600, 1600, 1680, 1920, 1920, 32767, 0, 0};
int h[] = {0, 240, 360, 480, 480, 600, 600, 768, 864, 720, 800, 1024, 768,
900, 900, 1200, 1050, 1080, 1200, 0, 0};
900, 900, 1200, 1050, 1080, 1200, 32767, 0, 0};

int i;
int nSizes;
Expand Down

0 comments on commit 615bf96

Please sign in to comment.