[PATCH xserver] ephyr: fix -no-host-grab argument processing

Jürg Billeter j at bitron.ch
Sun Feb 8 02:34:18 PST 2015


Signed-off-by: Jürg Billeter <j at bitron.ch>
---
 hw/kdrive/ephyr/ephyrinit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index 897aa19..f02ac16 100644
--- a/hw/kdrive/ephyr/ephyrinit.c
+++ b/hw/kdrive/ephyr/ephyrinit.c
@@ -364,7 +364,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);
-- 
2.3.0



More information about the xorg-devel mailing list