Skip to content

Commit

Permalink
[settings] Do not grab touch input devices by default. Fixes JB#39800
Browse files Browse the repository at this point in the history
Grabbing used to be necessary back when only multitouch protocol a
devices were supported. But we should never block mt protocol b inputs
and grabbing protocol a inputs is not needed either anymore.

To avoid requiring a do-not-grab-touch-input configuration file for every
multitouch protocol b device out there, switch default input grab setting
from "keypad and touch" to "keypad only".

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Sep 20, 2017
1 parent ab28e16 commit 001dccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event-input.h
Expand Up @@ -108,7 +108,7 @@
# define MCE_INPUT_GRAB_ALLOW_NONE (0)
# define MCE_INPUT_GRAB_ALLOW_TS (1<<0)
# define MCE_INPUT_GRAB_ALLOW_KP (1<<1)
# define MCE_DEFAULT_INPUT_GRAB_ALLOWED 3 // = MCE_INPUT_GRAB_ALLOW_TS | KP
# define MCE_DEFAULT_INPUT_GRAB_ALLOWED 2 // = MCE_INPUT_GRAB_ALLOW_KP

/* ========================================================================= *
* Functions
Expand Down

0 comments on commit 001dccd

Please sign in to comment.