Merge lp:~andreas-pokorny/ubuntu-touch-session/gu-evaluation-in-usc-wrapper into lp:ubuntu-touch-session

Proposed by Andreas Pokorny
Status: Work in progress
Proposed branch: lp:~andreas-pokorny/ubuntu-touch-session/gu-evaluation-in-usc-wrapper
Merge into: lp:ubuntu-touch-session
Diff against target: 19 lines (+11/-1)
1 file modified
usc-wrapper (+11/-1)
To merge this branch: bzr merge lp:~andreas-pokorny/ubuntu-touch-session/gu-evaluation-in-usc-wrapper
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+248994@code.launchpad.net

Commit message

Temporary for demoing purposes mirserver evaluates GRID_UNIT_PX to scale cursors. This change sets GRID_UNIT_PX before starting u-s-c

To post a comment you must log in.

Unmerged revisions

256. By Andreas Pokorny

get grid unit set for usc

255. By Andreas Pokorny

enable hardware cursors on the phone

With this change a cursor will be visible on start. With the lp:~mir-team/unity-system-compositor/toggle-cursor it will only be visible as soon as a mouse move is detected

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usc-wrapper'
2--- usc-wrapper 2014-09-08 21:02:31 +0000
3+++ usc-wrapper 2015-02-07 07:12:38 +0000
4@@ -5,4 +5,14 @@
5 . /etc/environment
6 export ANDROID_ROOT
7
8-exec unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner $@
9+# workaround: get GRID_UNIT_PX setting for usc to allow scaling cursors
10+GRID_UNIT_PX=18
11+# override defaults by sourcing /etc/ubuntu-touch-session.d/$device.conf
12+device=$(getprop ro.product.device)
13+if [ -e /etc/ubuntu-touch-session.d/$device.conf ]; then
14+ . /etc/ubuntu-touch-session.d/$device.conf
15+fi
16+
17+export GRID_UNIT_PX
18+
19+exec unity-system-compositor --enable-hardware-cursor=true --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner $@

Subscribers

People subscribed via source and target branches