Hello.
I have an application running on a Raspberry pi running wayland instead of X11. I have another installed application that seems to grab hold of touch events from my HDMI touch screen when sat underneath my xojo app unless I move the mouse cursor using a mouse over my Xojo app. Once the mouse is over the Xojo app it behaves normally from touch screen touch events. I have spent ages forming a terrible kludge that moves the mouse to the application position, which is awful but works. Before I resign myself to this bodge I thought I would ask if anybody has any other ideas.
I am sticking with wayland for now for [reasons]
Hi Matthew, does the ‘other’ app that keeps stealing focus away need to be running? Is your RPi solution supposed to be a dedicated app that captures the screen, and provides 100% of the user interface? I’m asking because I have an RPi w/touch screen and successfully suppress all other apps/OS from ever taking focus. That said, you can’t plug in a mouse or toggle outside of my app unless you go thru Terminal and change a system file and reboot.
Hi.
Yes, the other app is usually full screen. My Xojo app is a sort of large button app to do some simple stuff that pops up on a GPIO button push and has large buttons that are easy to use with one finger. The other app is is somehow capturing the touch events within its window. I could minimize it temporarily but I think that would be rather ugly.
I should also say that to get the app to receive any touch events under wayland I have to run it with env -u WAYLAND_DISPLAY GDK_BACKEND=x11