mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
Merge pull request #227 from aepsil0n/grab-cursor
Implement grabbing of the mouse pointer for X11
This commit is contained in:
@@ -255,6 +255,14 @@ impl Window {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn grab_cursor(&self) -> Result<(), String> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn ungrab_cursor(&self) {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn hidpi_factor(&self) -> f32 {
|
||||
1.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user