GNOME Bugzilla – Bug 51973
with XINPUT_GXI defined gdk.c will not compile
Last modified: 2011-02-04 16:09:02 UTC
with XINPUT_GXI defined gdk.c will not compile because at line 340 equal_pos is not declared in the line: gdk_input_gxid_port = atoi (equal_pos + 1); 1) my use of XINPUT_GXI may be incorrect for my system!? 2) my very fast fix and totally untested workaround is to change line 340 of gdk.c as follows: gdk_input_gxid_port = atoi (option); this seems consistent with the code in the other #ifdef blocks in this function call (gdk_init_check). i'd appreciate a quick email ras@acm.org note if my selection of XINPUT_GXI is the correct choice for a stock solaris 2.5 cde 1.0.x thanks hope the work-around is corrent and helpful ras
The workaround is the correct fix, however I really don't expect --with-xinput=gxi to work. I've never had a succesful report of anybody using GTK+ XInput support on anything but XFree; the gxid daemon was developed on XFree before the extensions used by --with-xinput=xfree were added.
*** Bug 51832 has been marked as a duplicate of this bug. ***
Fixed in CVS, will be in 1.2.10.