aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_parse_display.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libaxl_parse_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaxl_parse_display.c b/libaxl_parse_display.c
index 1b304e3..037f49b 100644
--- a/libaxl_parse_display.c
+++ b/libaxl_parse_display.c
@@ -14,7 +14,7 @@ libaxl_parse_display(const char *name, char **hostp, char **protocolp, int *disp
*hostp = NULL;
*protocolp = NULL;
*displayp = 0;
- *screenp = 0;
+ *screenp = -1;
/* Get display server name string, if not specified */
if (!name || !*name) {