[PATCH evdev] Read the device resolution from the kernel.

Peter Korsgaard jacmet at sunsite.dk
Thu Apr 29 13:13:55 PDT 2010


>>>>> "Adam" == Adam Jackson <ajax at nwnk.net> writes:

 Adam> What will this do if built on 2.6.30 but run on 2.6.29?  Do we
 Adam> know .resolution is always 0 in that case?

Earlier kernels always copied sizeof(struct input_absinfo) back to the
user (which didn't used to contain the resolution member) - And the
structure is initialized to zero before, so it should be fine.

-- 
Bye, Peter Korsgaard


More information about the xorg-devel mailing list