qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: John Arbuckle <programmingkidx@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix console selection keys
Date: Thu, 2 Nov 2017 12:42:55 +0000	[thread overview]
Message-ID: <CAFEAcA8Ac00n8ajF7FBojWs==_5+dfaaOYTG=R6w0-wfOutx2A@mail.gmail.com> (raw)
In-Reply-To: <20171005190449.15591-1-programmingkidx@gmail.com>

On 5 October 2017 at 20:04, John Arbuckle <programmingkidx@gmail.com> wrote:
> Fix console selection keys so that the right console is selected.
>
> Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
> ---
>  ui/cocoa.m | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ui/cocoa.m b/ui/cocoa.m
> index 93e56d0518..2794f60b27 100644
> --- a/ui/cocoa.m
> +++ b/ui/cocoa.m
> @@ -631,7 +631,7 @@ - (void) handleEvent:(NSEvent *)event
>
>                      // enable graphic console
>                      case Q_KEY_CODE_1 ... Q_KEY_CODE_9: // '1' to '9' keys
> -                        console_select(keycode - 11);
> +                        console_select(keycode - Q_KEY_CODE_1);
>                          break;
>                  }

Applied to master, thanks.

-- PMM

      reply	other threads:[~2017-11-02 12:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 19:04 [Qemu-devel] [PATCH] ui/cocoa.m: Fix console selection keys John Arbuckle
2017-11-02 12:42 ` Peter Maydell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFEAcA8Ac00n8ajF7FBojWs==_5+dfaaOYTG=R6w0-wfOutx2A@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).