aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs
index 578c237..664868b 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -149,6 +149,12 @@ impl<'a> WindowBuilder<'a> {
self
}
+ /// Enables multitouch
+ pub fn with_multitouch(mut self) -> WindowBuilder<'a> {
+ self.attribs.multitouch = true;
+ self
+ }
+
/// Builds the window.
///
/// Error should be very rare and only occur in case of permission denied, incompatible system,