@@ -8,6 +8,15 @@ stop on desktop-end
88
99kill timeout 120
1010
11+#
12+# Ensure the shell always gets unthrottled touch events, so that applications
13+# who want full speed low-latency input can get it (LP: #1497105) and so that
14+# apps can use QML touch compression safely (the QML touch compression
15+# algorithm does not support nesting well - LP: #1486341, LP: #1556763 - so
16+# must be fed by the raw input event stream from Unity8).
17+#
18+env QML_NO_TOUCH_COMPRESSION=1
19+
1120respawn
1221expect stop
1322
@@ -45,11 +54,11 @@ pre-start script
4554
4655 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
4756
48− # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
49− # issues (LP: #1486341, LP: #1556763). As a bonus, this eliminates most of
50− # the lag seen in the indicator panel pull-down (LP: #1488327) and also
51− # reduces lag seen in apps:
52− initctl set-env --global QML_NO_TOUCH_COMPRESSION=1
57+ #
58+ # Mir's input resampling is deprecated and going away soon. Turn it off
59+ # so we don't get a surprise change in behaviour when that happens.
60+ #
61+ initctl set-env --global MIR_CLIENT_INPUT_RATE=0
5362
5463 if [ "$XDG_SESSION_DESKTOP" = "ubuntu-touch" ]; then
5564 # On Ubuntu Touch, we currently use a trick where we auto-login the