summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2015-02-08 11:34:18 +0100
committerAdam Jackson <ajax@redhat.com>2015-09-21 12:08:25 -0400
commit9414ba3683231afe9bee0f941c53998dea218615 (patch)
treeff15a5efd07ee6d70d3c798f1327a247fd25d1b4
parent1f915e8b524dd02011158aa038935970684c7630 (diff)
ephyr: fix -no-host-grab argument processing
Signed-off-by: Jürg Billeter <j@bitron.ch> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--hw/kdrive/ephyr/ephyrinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index 8fbaf1d44..d86baf295 100644
--- a/hw/kdrive/ephyr/ephyrinit.c
+++ b/hw/kdrive/ephyr/ephyrinit.c
@@ -367,7 +367,7 @@ ddxProcessArgument(int argc, char **argv, int i)
/* end Xnest compat */
else if (!strcmp(argv[i], "-no-host-grab")) {
EphyrWantNoHostGrab = 1;
- return 2;
+ return 1;
}
return KdProcessArgument(argc, argv, i);