mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 03:31:27 +03:00
better support for win7
This commit is contained in:
@@ -114,9 +114,9 @@ impl Display {
|
||||
self.0.is_online()
|
||||
}
|
||||
|
||||
pub fn origin(&self) -> (usize, usize) {
|
||||
pub fn origin(&self) -> (i32, i32) {
|
||||
let o = self.0.bounds().origin;
|
||||
(o.x as usize, o.y as usize)
|
||||
(o.x as _, o.y as _)
|
||||
}
|
||||
|
||||
pub fn is_primary(&self) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user