diff options
Diffstat (limited to 'x11vnc/xinerama.c')
-rw-r--r-- | x11vnc/xinerama.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/xinerama.c b/x11vnc/xinerama.c index c54e7c4..bfeb37a 100644 --- a/x11vnc/xinerama.c +++ b/x11vnc/xinerama.c @@ -267,7 +267,7 @@ void check_xinerama_clip(void) { } } for (i=0; i <= k; i++) { - int j, jmon, mon = -1, mox = -1; + int j, jmon = 0, mon = -1, mox = -1; for (j=0; j < is; j++) { if (mon < 0 || score[j] < mon) { mon = score[j]; |