Commit 14c83ba
committed
cinnamonEntry.js: Allow addContextMenu() to re-use an existing
PopupMenuManager.
If the St.Entry is inside of a popup menu (and *not* a modal dialog),
that menu's 'captured-event' handler can receive unintended events,
and react to focus loss, closing both the original popup and context
menu.
The original menu's manager can safely deal with multiple popups,
and ensure 'correct' behavior in this situation.
ref:
#134721 parent 2db8e83 commit 14c83ba
1 file changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
143 | 155 | | |
144 | 156 | | |
145 | 157 | | |
146 | 158 | | |
147 | | - | |
148 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
149 | 166 | | |
150 | 167 | | |
151 | 168 | | |
| |||
0 commit comments