Skip to content

Disable touch events when blanking

Guido Günther requested to merge disable-touch-when-blanking into master

On devices other than the Librem 5, such as the PinePhone, the touch panel is still enabled when the screen is blanked. This results in touch events being sent to the shell even with a blank screen, resulting in unsollicited application launch and other unwanted behavior.

In order to avoid that, this commit introduces a way to disable touch events when the screen is blanked, and restore them when un-blanking.

Fixes #107 (closed)

Merge request reports