We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4fc1fc commit 721c3d0Copy full SHA for 721c3d0
src/linux/x11_api.rs
@@ -146,7 +146,7 @@ impl PlatformApi for X11Api {
146
} else {
147
name
148
};
149
- wins.push((Some(name), window as u64));
+ wins.push((Some(name), window));
150
}
151
152
src/macos/window_id.rs
@@ -44,8 +44,7 @@ pub fn window_list() -> Result<WindowList> {
44
45
let count = unsafe { CFArrayGetCount(window_list_info) };
46
for i in 0..count {
47
- let dic_ref =
48
- unsafe { CFArrayGetValueAtIndex(window_list_info, i as isize) as CFDictionaryRef };
+ let dic_ref = unsafe { CFArrayGetValueAtIndex(window_list_info, i) as CFDictionaryRef };
49
if dic_ref.is_null() {
50
unsafe {
51
CFRelease(window_list_info.cast());
0 commit comments