touch and dual display

I’ve setup a dual monitor system, the primary is a LCD with touch
screen running in 800x600 and the secondary is a monitor/TV running
at 640x480.

When I try the touch screen it seems to always use the 640x480 region
although it should be using the 800x600.

I have try use abs -x option but that didn’t solve the problem.

Looking at the source I discovered query_grafx_region() uses the first
region it finds. I’m currently digging a little deeper to figure out
exactly what is going on.

If anybody has any pointer I’d appreciate it. I probably could have
post in another ng but since I’m basing my info on available source I
though this was a more appropriate place?

  • Mario

I’ve setup a dual monitor system, the primary is a LCD with touch
screen running in 800x600 and the secondary is a monitor/TV running
at 640x480.

When I try the touch screen it seems to always use the 640x480 region
although it should be using the 800x600.

I have try use abs -x option but that didn’t solve the problem.

I am not familiar with this option (and I don’t have an QNX 6 box in
front of me right now).

Looking at the source I discovered query_grafx_region() uses the first
region it finds. I’m currently digging a little deeper to figure out
exactly what is going on.

That is correct. I don’t have the source in front of me, but I believe
it finds the first “local-hardware” graphics region (i.e. it will bypass
things like phrelay regions). It should be fairly straight forward to
change the algorithm to find a “local-hardware” region of a particular
dimension.