summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-30 20:27:47 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-30 20:27:47 +0000
commit2450e5e214398dc9d70fd28dcde9c2ac31bf8a29 (patch)
tree2b3ff24d7c77b609f1652f491f27f5eecf42ca36 /input/device.c
parent332157202da1e230b900a0bf72153177c5da0be6 (diff)
input: don't track POLLIN event
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);