qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] console: unbreak cocoa


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] console: unbreak cocoa
Date: Thu, 18 Apr 2013 07:33:26 +0100

On 18 April 2013 07:20, Gerd Hoffmann <address@hidden> wrote:
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
>  ui/cocoa.m |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ui/cocoa.m b/ui/cocoa.m
> index 048cc97..14b784d 100644
> --- a/ui/cocoa.m
> +++ b/ui/cocoa.m
> @@ -495,7 +495,7 @@ QemuCocoaView *cocoaView;
>                  if (keycode == 58 || keycode == 69) { // emulate caps lock 
> and num lock keydown and keyup
>                      kbd_put_keycode(keycode);
>                      kbd_put_keycode(keycode | 0x80);
> -                } else if (is_graphic_console()) {
> +                } else if (qemu_console_is_graphic(NULL)) {

This isn't the only use of is_graphic_console(); compare
the patch I sent last night:

http://patchwork.ozlabs.org/patch/237347/

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]