Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20407

Summary: enabling XInput support in gtk+-2.0
Product: Gentoo Linux Reporter: Daniel Rogers <daniel>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 21336    
Bug Blocks:    

Description Daniel Rogers 2003-05-03 19:51:04 UTC
There should be a USE variable (or a default) to enable gtk+-2.0's XInput
support.  XInput support in gtk+-2.0 is requried for future versions of The GIMP
(and development versions now) and any other gtk+ 2.0 application that wants to
use the advanced features of tablets, airbrushes, 4-D mice, styluses or any
other non-typical input device (in particular, my wacom tablet) in a more
portable way.  These things are accessable from X directly, but gtk+ makes these
things more portable.  The option that needs to be passed is
"--with-xinput=xfree" on linux with XFree86.


Reproducible: Always
Steps to Reproduce:
1.  Build cvs Gimp.
2.  Try to use the stylus with pressure and tilt input in CVS Gimp (it won't work)
Actual Results:  
The stylus behaves like a normal mouse

Expected Results:  
The stylus should have it's own section the the Pointers dialog, and should be
able to use it's tilt and pressure to enhance several of the tools
Comment 1 foser (RETIRED) gentoo-dev 2003-05-12 11:42:54 UTC
to give some progress report on this. I think it's ok to enable this by default, but currently there's a bug in Xfree in combination with Xinput that needs to be patched for this to go in really. It can cause problems in other apps.

The correct configure option is '--with-xinput=yes' btw
Comment 2 foser (RETIRED) gentoo-dev 2003-06-12 04:30:52 UTC
ok, current gtk+-2.2.2-r1 has xinput support enabled by default. This is the first gtk+ version that correctly supports xinput btw, so with earlier versions it still wouldn't have worked.

Please test it.
Comment 3 foser (RETIRED) gentoo-dev 2003-07-08 11:04:07 UTC
no complaints, i suppose it works.

closing.