Merge lp:~ted/indicator-appmenu/transient-windows into lp:indicator-appmenu/0.3
Proposed by
Ted Gould
Status: | Merged |
---|---|
Merged at revision: | 24 |
Proposed branch: | lp:~ted/indicator-appmenu/transient-windows |
Merge into: | lp:indicator-appmenu/0.3 |
Diff against target: |
43 lines (+14/-10) 1 file modified
src/indicator-appmenu.c (+14/-10) |
To merge this branch: | bzr merge lp:~ted/indicator-appmenu/transient-windows |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Barth | Needs Information | ||
Review via email: mp+27669@code.launchpad.net |
Description of the change
Use the new transient window functions in bamf to try and choose the right menu.
To post a comment you must log in.
I don't like that the 'while' may loop endlessly if there is an issue with the stack of parent and transient windows, especially for unsupported applications which will have no menus.
I would have expected the transient window to be the focused one, and the code to look for the /parent/ menu (ie bamf_get_parent?).
If bamf already takes care of mapping app windows and their transient windows, why is a traversal of the stack required?