Merge lp:~albertomilone/unity-settings-daemon/1326636-14.10 into lp:unity-settings-daemon

Proposed by Alberto Milone
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 4045
Merged at revision: 4043
Proposed branch: lp:~albertomilone/unity-settings-daemon/1326636-14.10
Merge into: lp:unity-settings-daemon
Diff against target: 13 lines (+2/-1)
1 file modified
plugins/xrandr/gsd-xrandr-manager.c (+2/-1)
To merge this branch: bzr merge lp:~albertomilone/unity-settings-daemon/1326636-14.10
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Sebastien Bacher Approve
Review via email: mp+222148@code.launchpad.net

Commit message

gsd-xrandr-manager.c: do not try to map an invalid touch device on initialisation

    Fixes LP: #1326636

Description of the change

gsd-xrandr-manager.c: do not try to map an invalid touch device on initialisation

Fixes LP: #1326636

To post a comment you must log in.
4045. By Alberto Milone

Revert changes to the changelog

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/xrandr/gsd-xrandr-manager.c'
2--- plugins/xrandr/gsd-xrandr-manager.c 2014-06-04 14:08:05 +0000
3+++ plugins/xrandr/gsd-xrandr-manager.c 2014-06-05 09:57:50 +0000
4@@ -2286,7 +2286,8 @@
5
6 /* Initialise touchscreen mapping */
7 set_touchscreen_id (manager);
8- do_touchscreen_mapping (manager);
9+ if (manager->priv->main_touchscreen_id != -1)
10+ do_touchscreen_mapping (manager);
11
12 log_msg ("State of screen after initial configuration:\n");
13 log_screen (manager->priv->rw_screen);

Subscribers

People subscribed via source and target branches