From: Peter Hutterer Date: Wed, 13 Feb 2008 06:05:18 +0000 (+1030) Subject: Update XiSelectEvent API usage, has device argument now. X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/6729d777c48f38290c8f0e8d0e5f17182faa5120?ds=sidebyside;hp=-c Update XiSelectEvent API usage, has device argument now. --- 6729d777c48f38290c8f0e8d0e5f17182faa5120 diff --git a/src/list.c b/src/list.c index ee6faa2..a802c10 100644 --- a/src/list.c +++ b/src/list.c @@ -127,7 +127,7 @@ list(Display *display, if (daemon) { - XiSelectEvent(display, DefaultRootWindow(display), + XiSelectEvent(display, DefaultRootWindow(display), NULL, XI_DeviceHierarchyChangedMask | XI_DeviceClassesChangedMask); }