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
=== modified file 'usc-wrapper'
--- usc-wrapper 2014-09-08 21:02:31 +0000
+++ usc-wrapper 2015-02-07 07:12:38 +0000
@@ -5,4 +5,14 @@
5. /etc/environment5. /etc/environment
6export ANDROID_ROOT6export ANDROID_ROOT
77
8exec unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner $@8# workaround: get GRID_UNIT_PX setting for usc to allow scaling cursors
9GRID_UNIT_PX=18
10# override defaults by sourcing /etc/ubuntu-touch-session.d/$device.conf
11device=$(getprop ro.product.device)
12if [ -e /etc/ubuntu-touch-session.d/$device.conf ]; then
13 . /etc/ubuntu-touch-session.d/$device.conf
14fi
15
16export GRID_UNIT_PX
17
18exec 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