0

Is there any solution to prevent the first touch event when the screen saver is enabled on Windows?

The problem is when screen saver is on if the user touches the screen, there is a chance to perform some action (press the button, etc) of an always full screen running application.

The application is written in WPF, so I'm thinking about creating a user control that would catch the first click and after that disappear from the screen. When the screen saver is on again, the user control would be activated again.

I'm wondering if there is some more elegant solution in Windows settings for this issue?

Nikola Sajic
  • 126
  • 2
  • 4
  • Input goes to the window under the cursor. If the screen saver is running, it covers the entire display. I doubt that there is a chance that the system occasionally tunnels input through the screen saver. – IInspectable Sep 24 '20 at 20:01
  • Thank you for the response, but I would not ask this if it did not happen. – Nikola Sajic Sep 25 '20 at 07:21
  • [This question](https://stackoverflow.com/questions/3953297/detecting-if-the-screensaver-is-active-and-or-the-user-has-locked-the-screen-in), or the one it links to might have some level of solution for detecting if the screansaver is running. There's also [this](https://devblogs.microsoft.com/scripting/how-can-i-tell-if-the-screen-saver-is-active/), but it's a bit... ugly. – Keith Stein Sep 26 '20 at 17:15

0 Answers0