windowMenu: Ping window when activating any menu action
We do this for actions in the regular app menu, it makes sense to do the same for window menu and fallback app menu.
This commit is contained in:
parent
a72a24ebff
commit
e747fcb16f
@ -155,6 +155,10 @@ const WindowMenuManager = new Lang.Class({
|
|||||||
|
|
||||||
this._manager.addMenu(menu);
|
this._manager.addMenu(menu);
|
||||||
|
|
||||||
|
menu.connect('activate', function() {
|
||||||
|
window.check_alive(global.get_current_time());
|
||||||
|
});
|
||||||
|
|
||||||
Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0);
|
Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0);
|
||||||
menu.open(BoxPointer.PopupAnimation.NONE);
|
menu.open(BoxPointer.PopupAnimation.NONE);
|
||||||
menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
|
menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user