Fix doubled device events on X11

Fixes #2332
This commit is contained in:
Markus Røyset 2022-06-13 18:24:56 +02:00 committed by GitHub
parent 6b5b570b45
commit 401d20fa1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -555,7 +555,7 @@ impl<T> EventLoopWindowTarget<T> {
}
self.xconn
.select_xinput_events(self.root, ffi::XIAllDevices, mask)
.select_xinput_events(self.root, ffi::XIAllMasterDevices, mask)
.queue();
}
}