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

Alan Coopersmith alan.coopersmith at oracle.com
Sun Feb 8 12:03:36 PST 2015


On 02/ 8/15 02:34 AM, Jürg Billeter wrote:
> 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);
>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list