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:
Florian Müllner 2014-05-27 17:32:34 +02:00
parent a72a24ebff
commit e747fcb16f

View File

@ -155,6 +155,10 @@ const WindowMenuManager = new Lang.Class({
this._manager.addMenu(menu);
menu.connect('activate', function() {
window.check_alive(global.get_current_time());
});
Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0);
menu.open(BoxPointer.PopupAnimation.NONE);
menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);