diff options
Diffstat (limited to 'src/window.rs')
-rw-r--r-- | src/window.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs index 9685287..8757efc 100644 --- a/src/window.rs +++ b/src/window.rs @@ -157,6 +157,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, |