Merge lp:~unity-team/unity/unity.composition-char into lp:unity
Proposed by
Jay Taoko
Status: | Merged |
---|---|
Approved by: | Didier Roche-Tolomelli |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2054 |
Proposed branch: | lp:~unity-team/unity/unity.composition-char |
Merge into: | lp:unity |
Diff against target: |
188 lines (+120/-8) 4 files modified
plugins/unityshell/src/IMTextEntry.cpp (+77/-8) plugins/unityshell/src/IMTextEntry.h (+12/-0) tests/autopilot/autopilot/emulators/X11.py (+1/-0) tests/autopilot/autopilot/tests/test_dash.py (+30/-0) |
To merge this branch: | bzr merge lp:~unity-team/unity/unity.composition-char |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brandon Schaefer (community) | Needs Fixing | ||
Neil J. Patel (community) | Approve | ||
Mirco Müller (community) | Needs Fixing | ||
Review via email: mp+95653@code.launchpad.net |
Description of the change
To post a comment you must log in.
In IMTextEntry: :CheckValidClie ntWindow( ) you do...
76 + if (1/*focused_*/) context_ focus_in( im_context_ );
77 + {
78 + gtk_im_
79 + }
... please don't. Either use a proper conditional statement that can change at runtime or just drop completely.
In IMTextEntry: :TryHandleEvent () you don't initialize ev...
89 + CheckValidClien tWindow( event.x11_ window) ; entKey( event, ev);
90 +
91 + GdkEventKey ev;
92 + KeyEventToGdkEv
... and that's asking for trouble. Maybe not in that particular case (about to be filled by the next call). Just bzero() it. Always be explicit!