[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] ui/gtk.c vs old gtk versions
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] ui/gtk.c vs old gtk versions |
Date: |
Tue, 4 Nov 2014 09:40:57 +0100 |
On Mon, 03 Nov 2014 17:27:39 -0500
Cole Robinson <address@hidden> wrote:
> Indeed ui/gtk.c already has a number of similar workarounds.
>
> Untested fix below. Cornelia or Kevin, can you confirm?
>
> - Cole
>
> diff --git a/ui/gtk.c b/ui/gtk.c
> index de564cc..38bf463 100644
> --- a/ui/gtk.c
> +++ b/ui/gtk.c
> @@ -128,6 +128,7 @@ static inline void gdk_drawable_get_size(GdkWindow *w,
> gint *ww, gint *wh)
> #define GDK_KEY_q GDK_q
> #define GDK_KEY_plus GDK_plus
> #define GDK_KEY_minus GDK_minus
> +#define GDK_KEY_Pause GDK_Pause
> #endif
>
> #define HOTKEY_MODIFIERS (GDK_CONTROL_MASK | GDK_MOD1_MASK)
>
With this change, master builds for me again.