[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: Re: Building gtk+-3.2.3 on natty
From: Patrick Welche <prlw1 () cam ! ac ! uk>
Date: 2012-01-06 16:44:17
Message-ID: 20120106164417.GB2559 () mrao ! cam ! ac ! uk
[Download RAW message or body]
On Wed, Jan 04, 2012 at 09:58:23PM -0800, john beritz wrote:
> gdkwindow-x11.c: In function '_gdk_x11_moveresize_handle_event':
> gdkwindow-x11.c:4301:9: error: 'XIEvent' undeclared (first use in this function)
...
It seems that there is an inconsistency between #defines:
n XThe part in gdkwindow-x11.c which uses XIEvent and friends is "protected"
by HAVE_XGENERICEVENTS, i.e., XGetEventData() has been found. (Xlib.h)
XIEvent and friends are defined in <X11/extension/XInput2.h> which is
included by gdkdisplay-x11.h if XINPUT_2 is defined.
Can you look in your config.h file, and confirm that
HAVE_XGENERICEVENTS is defined but XINPUT_2 is not?
Does XInput2.h exist on your system?
Other developers: attached patch against head rather than 3.2.3
looks about right...
Cheers,
Patrick
["xinput2.diff" (text/x-diff)]
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 7773fd7..1f61764 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -4366,7 +4366,7 @@ _gdk_x11_moveresize_handle_event (XEvent *event)
finish_drag (mv_resize);
break;
-#ifdef HAVE_XGENERICEVENTS
+#if defined (HAVE_XGENERICEVENTS) && defined (XINPUT_2)
case GenericEvent:
{
/* we just assume this is an XI2 event */
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic