windows/x11drv/event.c It would be interesting to trace what is happening here, since this is the point (I think) where the window for which the event happened (what you see with the 'Got event' trace) and the 'scope' window, that is, the topmost parent, and the window coordinates. You could add traces in this routine to display what are the values 'in' and 'out' for hwnd and x,y. Then compare what is happening in both cases (mouse and touchscreen) Do you need help in adding traces ? C is not that different from Pascal :-) Gerard