# HG changeset patch # User Goffi # Date 1554664167 -7200 # Node ID a7b80552ca8db8670a36c19e38953b0672529776 # Parent 717c6c368f707b908ccd979c56d3051ef855da38 core: don't change mouse setting on Android, this is causing a touch bug: when changing setting to avoid multitouch emulation with mouse, Kivy is doing several touch event on Android. cf. https://github.com/kivy/kivy/issues/6229 diff -r 717c6c368f70 -r a7b80552ca8d cagou/core/cagou_main.py --- a/cagou/core/cagou_main.py Thu Mar 28 08:44:03 2019 +0100 +++ b/cagou/core/cagou_main.py Sun Apr 07 21:09:27 2019 +0200 @@ -100,7 +100,10 @@ # we want white background by default Window.clearcolor = (1, 1, 1, 1) # we don't want multi-touch emulation with mouse -KivyConfig.set('input', 'mouse', 'mouse,disable_multitouch') +if sys.platform != 'android': + # FIXME: there is currently a bug in Kivy when this option is enabled + # cf. https://github.com/kivy/kivy/issues/6229 + KivyConfig.set('input', 'mouse', 'mouse,disable_multitouch') class NotifsIcon(IconButton):