ephyr: fix -no-host-grab argument processing

Signed-off-by: Jürg Billeter <j@bitron.ch>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Jürg Billeter 2015-02-08 11:34:18 +01:00 committed by Adam Jackson
parent 1f915e8b52
commit 9414ba3683

View File

@ -367,7 +367,7 @@ ddxProcessArgument(int argc, char **argv, int i)
/* end Xnest compat */ /* end Xnest compat */
else if (!strcmp(argv[i], "-no-host-grab")) { else if (!strcmp(argv[i], "-no-host-grab")) {
EphyrWantNoHostGrab = 1; EphyrWantNoHostGrab = 1;
return 2; return 1;
} }
return KdProcessArgument(argc, argv, i); return KdProcessArgument(argc, argv, i);