Repository navigation
Commit ebfdc5d
committed
xapp-status-icon.c (wayland): Unrealize the menu before each
layer-shell popup.
GtkMenu normally re-uses its toplevel GdkWindow. But using
gtk-layer-shell this leaves a stale grab state, so subsequent
attempts to show the menu immediately get dismissed.
Unrealizing menu each time forces it to set up a clean state each
time.1 parent f2cd3c2 commit ebfdc5d
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
476 | 487 | | |
477 | 488 | | |
478 | 489 | | |
| |||
0 commit comments