Merge lp:~mkhu/compiz/compiz.fix_1075451 into lp:compiz/0.9.9
Status: | Superseded |
---|---|
Proposed branch: | lp:~mkhu/compiz/compiz.fix_1075451 |
Merge into: | lp:compiz/0.9.9 |
Diff against target: |
17 lines (+5/-2) 1 file modified
gtk/window-decorator/actionmenu.c (+5/-2) |
To merge this branch: | bzr merge lp:~mkhu/compiz/compiz.fix_1075451 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Needs Fixing | ||
Review via email: mp+133021@code.launchpad.net |
This proposal supersedes a proposal from 2012-11-06.
This proposal has been superseded by a proposal from 2012-11-08.
Description of the change
For an application window without decorations, pressing Alt+Space failed to activate the action menu on the top left corner of the window and also causes the gtk-window-
(LP: #1075451)
The crash is caused by a miscalculation in actionmenu.c: position_
function (*theme_
so first we need to check if the window is decorated or not.
most (non-overrided) windows use _MOTIF_WM_HINTS to indicate they're not to be decorated.
thus get_mwm_prop(...) in util.c is quite handy.
NOTE: (*theme_
Unmerged revisions
- 3452. By Hu Kang <email address hidden>
-
fix gtk-window-
decorator crash when pressing Alt+Space on windows without decorations (e.g. google-chrome)
Excellent, thanks.
Please:
1. Log a bug for the crash and link the branch to the bug.
2. Change the indentation to 4 spaces (not tabs except every second level to replace 8-spaces).
3. Propose for merging to lp:compiz only. That's 0.9.9