aboutsummaryrefslogtreecommitdiffstats
path: root/src/android
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/android
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/android')
-rw-r--r--src/android/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs
index 71dae54..653ae39 100644
--- a/src/android/mod.rs
+++ b/src/android/mod.rs
@@ -358,6 +358,10 @@ impl Window {
pub fn set_cursor(&self, _: MouseCursor) {
}
+ pub fn grab_cursor(&self) -> Result<(), String> { Ok(()) }
+
+ pub fn ungrab_cursor(&self) {}
+
pub fn hidpi_factor(&self) -> f32 {
1.0
}