From: Charles D. <cd...@mv...> - 2001-07-29 20:23:04
|
On Sun, Jul 29, 2001 at 08:31:38PM +0200, Vojtech Pavlik wrote: > On Tue, Jul 24, 2001 at 08:21:43PM -0700, Charles Duffy wrote: > > Thus, I'd like to have this be Correct Behaviour for an event handler. > > (Some changes are also needed to tsdev.c; I'd be glad to provide > > them). >=20 > I think much better would be letting mousedev know both the correct > screen and touchpanel resolution. Yes, if the information is available. If it isn't, it makes sense for an event handler to attempt to function nevertheless rather than give up utterly. It also doesn't make sense to require the device generating events to ask the user for numbers which aren't otherwise available to it if in most application those numbers will serve no purpose. Thus, while I agree that an event generator should be as strict as possible in what it generates -- providing resolution numbers if at all available -- an event handler should still be able to Do The Right Thing (or the closest possible approximation) if the numbers just aren't there. |