From 8c0dfe19c29f079c06d556fbf645db8eafb713da Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 22 Oct 2015 16:29:48 -0700 Subject: Change X11 events based on `multitouch` option * If `multitouch` is enabled, touch input generates touch events. * If `multitouch` is disabled, touch input generates emulated mouse events. --- src/api/x11/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/x11/window.rs') diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index cf7854e..0196f67 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -562,7 +562,7 @@ impl Window { current_size: Cell::new((0, 0)), pending_events: Mutex::new(VecDeque::new()), cursor_state: Mutex::new(CursorState::Normal), - input_handler: Mutex::new(XInputEventHandler::new(display, window, ic)) + input_handler: Mutex::new(XInputEventHandler::new(display, window, ic, window_attrs)) }; // returning -- cgit v1.2.3