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.
This commit is contained in:
parent
6cefaa12be
commit
8c0dfe19c2
2 changed files with 20 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue