summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2007-02-12 02:42:28 +0000
committerrunge <runge>2007-02-12 02:42:28 +0000
commit0016cd4280ee9a0d088454a508a9c7f6bde33f62 (patch)
tree41614a1dfbd8bba02f35a588e8cc87d4e7692173 /x11vnc/connections.c
parent90d96b971f04b11fe1902091a94be94697738766 (diff)
downloadlibtdevnc-0016cd4280ee9a0d088454a508a9c7f6bde33f62.tar.gz
libtdevnc-0016cd4280ee9a0d088454a508a9c7f6bde33f62.zip
x11vnc: -grabalways, -forcedpms, -clientdpms, -noserverdpms, -loopbg, -svc, -xdmsvc
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index 5e5ebd4..d9c47a8 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -2377,7 +2377,9 @@ void check_new_clients(void) {
return;
}
- if (grab_kbd || grab_ptr) {
+ if (grab_always) {
+ ;
+ } else if (grab_kbd || grab_ptr) {
static double last_force = 0.0;
if (client_count != last_count || dnow() > last_force + 0.25) {
int q = (client_count == last_count);