aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-12-07 21:17:26 +0100
committerUlrich Sibiller <uli42@gmx.de>2016-12-07 21:46:28 +0100
commite1430989262e8b49b13f5ac721592113b8e0961e (patch)
tree96f0d797ab90c07074bbd1af9af5e1ce2c6dc127
parentce76009d22a4e528dcf0c5bd0fe908db9599916c (diff)
downloadnx-libs-e1430989262e8b49b13f5ac721592113b8e0961e.tar.gz
nx-libs-e1430989262e8b49b13f5ac721592113b8e0961e.tar.bz2
nx-libs-e1430989262e8b49b13f5ac721592113b8e0961e.zip
Screen.c: fix uninitalized variable
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index f14822d2e..428e2d37f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -3803,6 +3803,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
}
/* fake a xinerama screeninfo that covers the whole screen */
+ screeninfo->screen_number = 0;
screeninfo->x_org = nxagentOption(X);
screeninfo->y_org = nxagentOption(Y);
screeninfo->width = nxagentOption(Width);