diff options
author | Peter Osterlund <petero2@telia.com> | 2003-12-15 22:44:08 +0100 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:30 +0200 |
commit | e6d92b0e4399ead8d24e043857d3120b87ecc1ef (patch) | |
tree | 2c7d980e65d9f46d1a36f325216149bc5ad82e48 /syndaemon.c | |
parent | 13e1f68ac2c43e448bd012139bba5278a29f874c (diff) |
Added pass through support. From David Kennedy and Fred
Hucht.
Diffstat (limited to 'syndaemon.c')
-rw-r--r-- | syndaemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/syndaemon.c b/syndaemon.c index 93bdf6a..5647bcc 100644 --- a/syndaemon.c +++ b/syndaemon.c @@ -90,6 +90,8 @@ static int touchpad_buttons_active() for (i = 0; i < 8; i++) if (synshm->multi[i]) return 1; + if (synshm->guest_left || synshm->guest_mid || synshm->guest_right) + return 1; return 0; } @@ -108,7 +110,7 @@ static void main_loop(Display *display, double idle_time) pad_disabled = 0; keyboard_activity(display); - + for (;;) { current_time = get_time(); if (keyboard_activity(display)) |