From 13832cb65c80f752f52cea06c69939745fddf87a Mon Sep 17 00:00:00 2001 From: dbuechel Date: Wed, 20 Mar 2019 08:12:14 +0100 Subject: [PATCH] SEBWIN-141: Fixed touch activator for action center. --- SafeExamBrowser.WindowsApi/TouchActivator.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SafeExamBrowser.WindowsApi/TouchActivator.cs b/SafeExamBrowser.WindowsApi/TouchActivator.cs index 76ac1207..83671305 100644 --- a/SafeExamBrowser.WindowsApi/TouchActivator.cs +++ b/SafeExamBrowser.WindowsApi/TouchActivator.cs @@ -103,9 +103,8 @@ namespace SafeExamBrowser.WindowsApi private void CheckPosition() { var position = new POINT(); - var hasMoved = position.X > 200; - User32.GetCursorPos(ref position); + var hasMoved = position.X > 200; if (isDown && hasMoved) {