summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/device.c b/input/device.c
index 3e019a44..e137c28f 100644
--- a/input/device.c
+++ b/input/device.c
@@ -542,7 +542,7 @@ static guint create_watch(int sk, struct device *idev)
GIOChannel *io;
io = g_io_channel_unix_new(sk);
- id = g_io_add_watch(io, G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_NVAL,
+ id = g_io_add_watch(G_IO_HUP | G_IO_ERR | G_IO_NVAL,
connection_event, idev);
g_io_channel_unref(io);