summaryrefslogtreecommitdiffstats
path: root/sample_configuration
diff options
context:
space:
mode:
authorChristian Klinger2016-08-26 12:04:19 +0200
committerChristian Klinger2016-08-26 12:04:19 +0200
commitf3525d5882c9dded587925004ea8ec7e622e257f (patch)
tree49b8e433649110a32012d858802fc593709debcc /sample_configuration
parentthis is supposed to fix bug #2950 but doesn't. (diff)
downloadpvs2-f3525d5882c9dded587925004ea8ec7e622e257f.tar.gz
pvs2-f3525d5882c9dded587925004ea8ec7e622e257f.tar.xz
pvs2-f3525d5882c9dded587925004ea8ec7e622e257f.zip
fix problem with ghost click.
Diffstat (limited to 'sample_configuration')
-rwxr-xr-xsample_configuration/lockDesktop.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sample_configuration/lockDesktop.sh b/sample_configuration/lockDesktop.sh
index 0e3c61a..8a8f133 100755
--- a/sample_configuration/lockDesktop.sh
+++ b/sample_configuration/lockDesktop.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# move mouse pointer to the center of the screen to avoid some problems with ghost clicks
+xdotool mousemove --polar 0 0 --sync
+
# activate a locking scrensaver, xscreensaver, kscreensaver, etc...
xscreensaver-command --lock