Can i ask a question?
Great work have been done on touchscreen functionality!
But after touching screen on inactive display it does't get focus, like on Windows OS, but starts to controll pointer on active display.
Is it feature, or such behavior cant be changed for now?
This has to do with the way Voodoo code is architected which predates multiple touch display devices.
Touch drivers can work in two different modes -
Touch screen mode: The cursor position is absolute. In other words, the cursor moves to where the finger touches and the movement is one-one with the touch on the screen. Typically, the display and touch sensor is the same device.
Trackpad mode: The cursor position is relative. It stays where it is regardless of where you touch the trackpad and moves corresponding to the relative movements of touch (suitably scaled). Typical use of a touch only trackpad controlling the cursor on a screen.
Voodoo can only boot with one of the above modes attached to any device while booted and not switch. This works fine for the typical use of a touch screen and a trackpad on a laptop.
When you get to multi-display touch devices like the Zenbook, this architecture has a limitation. What is needed is that when the cursor is on one display, touch on the other display can be used as a trackpad controlling the cursor movement on the other screen or it can bring focus to the touched display and act as a touch screen for that display. In Windows, drivers take care of this switch in functionality being aware of this switch between multiple displays for active status.
Voodoo (and I suspect Linux drivers) don’t address this use case.
All you can do with Voodoo is force any such device into a pure trackpad mode or a pure touch screen mode at bootup with no concept of active screen change. You will need to move the cursor and flow into the other screen for it to respond in absolute mode on that screen.
Voodoo can rearchitected to address this but it is significant work and it doesn’t look like there is appetite for that much work in the current maintainers.