aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-03-26 16:48:40 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-03-26 16:48:40 +0100
commitd6ebaaaf5cbb1839e74c3c7c0573b1f842c59e6b (patch)
tree1e09474e9664d06ca0bb5539afe849348bba8c51 /src/win32
parent506c2bca27abbdec446a6683c665025ba4350ae8 (diff)
parent77d033d672d5bcd6e3e933da682467e53414e934 (diff)
downloadglutin-d6ebaaaf5cbb1839e74c3c7c0573b1f842c59e6b.tar.gz
glutin-d6ebaaaf5cbb1839e74c3c7c0573b1f842c59e6b.zip
Merge pull request #227 from aepsil0n/grab-cursor
Implement grabbing of the mouse pointer for X11
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 380342e..9daf0c3 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -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
}