Merge lp:~themuso/unity/move-present-environment-call into lp:unity

Proposed by Luke Yelavich
Status: Merged
Approved by: Stephen M. Webb
Approved revision: no longer in the source branch.
Merged at revision: 3922
Proposed branch: lp:~themuso/unity/move-present-environment-call
Merge into: lp:unity
Diff against target: 21 lines (+2/-2)
1 file modified
plugins/unityshell/src/unityshell.cpp (+2/-2)
To merge this branch: bzr merge lp:~themuso/unity/move-present-environment-call
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Unity Team Pending
Review via email: mp+250412@code.launchpad.net

Commit message

Move the unity a11y present environment call

With this change, one can now use accerciser to explore Unity's accessibility object hierarchy again.

To post a comment you must log in.
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/unityshell/src/unityshell.cpp'
2--- plugins/unityshell/src/unityshell.cpp 2015-02-03 10:47:59 +0000
3+++ plugins/unityshell/src/unityshell.cpp 2015-02-20 04:55:17 +0000
4@@ -271,8 +271,6 @@
5 {
6 notify_init("unityshell");
7
8- unity_a11y_preset_environment();
9-
10 XSetErrorHandler(old_handler);
11
12 /* Wrap compiz interfaces */
13@@ -4516,6 +4514,8 @@
14 if (!CompPlugin::checkPluginABI("opengl", COMPIZ_OPENGL_ABI))
15 return false;
16
17+ unity_a11y_preset_environment();
18+
19 /*
20 * GTK needs to be initialized or else unity's gdk/gtk calls will crash.
21 * This is already done in compiz' main() if using ubuntu packages, but not