Received: from eggs.gnu.org ([2001:4830:134:3::10]:56809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlZfw-0004C4-9N for qemu-devel@nongnu.org; Tue, 04 Nov 2014 03:41:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlZfn-0003vL-6N for qemu-devel@nongnu.org; Tue, 04 Nov 2014 03:41:16 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:44579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlZfm-0003us-Sd for qemu-devel@nongnu.org; Tue, 04 Nov 2014 03:41:07 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 4 Nov 2014 08:41:04 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id AC50417D8059 for ; Tue, 4 Nov 2014 08:41:08 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sA48f25e65142992 for ; Tue, 4 Nov 2014 08:41:02 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sA48f2GV005466 for ; Tue, 4 Nov 2014 01:41:02 -0700 Date: Tue, 4 Nov 2014 09:40:57 +0100 From: Cornelia Huck Message-ID: <20141104094057.1372aa70.cornelia.huck@de.ibm.com> In-Reply-To: <5458015B.6080902@redhat.com> References: <20141103140649.2826515c.cornelia.huck@de.ibm.com> <20141103131135.GA22901@noname.str.redhat.com> <20141103133214.GB31724@redhat.com> <5458015B.6080902@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] ui/gtk.c vs old gtk versions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cole Robinson Cc: Kevin Wolf , qemu-devel@nongnu.org, Gerd Hoffmann On Mon, 03 Nov 2014 17:27:39 -0500 Cole Robinson 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.