This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository nx-libs. commit 6c0098a3e64683f79e5dbbf601ac18d840a88726 Author: Ulrich Sibiller <uli42@gmx.de> Date: Fri Jan 11 21:58:50 2019 +0100 Extensions.c: fix first resolution being ignored Minor fix: The loop always started at index 3, comparing against the value at index 2. So the resolution at index 1 (320x240) was never taken into account for anything. --- nx-X11/programs/Xserver/hw/nxagent/Extensions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Extensions.c b/nx-X11/programs/Xserver/hw/nxagent/Extensions.c index d4f195b..3639922 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Extensions.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Extensions.c @@ -318,10 +318,10 @@ static int nxagentRandRInitSizes(ScreenPtr pScreen) * Compute default size. */ - w[0] = w[2]; - h[0] = h[2]; + w[0] = w[1]; + h[0] = h[1]; - for (i = 3; i < nSizes - 1; i++) + for (i = 2; i < nSizes - 1; i++) { if ((w[i] <= maxWidth * 3 / 4) && (h[i] <= maxHeight * 3 / 4) && -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git