Merge lp:~brandontschaefer/nux/destroy-XIC-on-input-window-hide into lp:nux
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Stephen M. Webb |
Approved revision: | 741 |
Merged at revision: | 741 |
Proposed branch: | lp:~brandontschaefer/nux/destroy-XIC-on-input-window-hide |
Merge into: | lp:nux |
Diff against target: |
112 lines (+22/-2) 6 files modified
NuxGraphics/GraphicsDisplayX11.cpp (+5/-0) NuxGraphics/GraphicsDisplayX11.h (+1/-0) NuxGraphics/XICClient.cpp (+4/-0) NuxGraphics/XIMController.cpp (+9/-2) NuxGraphics/XIMController.h (+1/-0) NuxGraphics/XInputWindow.cpp (+2/-0) |
To merge this branch: | bzr merge lp:~brandontschaefer/nux/destroy-XIC-on-input-window-hide |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Pending | |
Unity Team | Pending | ||
Review via email: mp+140277@code.launchpad.net |
Commit message
Destroy the XIC when hiding a window, or creating a new XIC.
Description of the change
Last branch was corrupt, thinking it should be merging another branch...
When hiding a XInputWindow we need to destroy the XIC otherwise preedit window can be left behind. Also need to make sure it gets destroyed when creating a new one, otherwise we are leaking memory.
To post a comment you must log in.