Update to windows-sys 0.59 (#4098)
This commit is contained in:
parent
3a39a6ddb0
commit
23011c6b0a
17 changed files with 166 additions and 137 deletions
|
|
@ -139,7 +139,7 @@ pub fn register_all_mice_and_keyboards_for_raw_input(
|
|||
// RIDEV_REMOVE: don't receive device events (requires NULL hwndTarget)
|
||||
let flags = match filter {
|
||||
DeviceEvents::Never => {
|
||||
window_handle = 0;
|
||||
window_handle = ptr::null_mut();
|
||||
RIDEV_REMOVE
|
||||
},
|
||||
DeviceEvents::WhenFocused => RIDEV_DEVNOTIFY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue