[AppWell] Allow popup menu to be persistent, and support direct window selection

When the user click+hold+release over the icon, the effect we want
is for the menu to stick around.

Also, allow the user to mouse over the actual windows and select
them directly.  If the user mouses over a window, reflect that in
the menu.
This commit is contained in:
Colin Walters
2009-09-09 21:14:31 -04:00
parent 458778bcfd
commit 6e31e59b57
5 changed files with 162 additions and 22 deletions

View File

@ -371,6 +371,17 @@ Overview.prototype = {
this.show();
},
/**
* lookupCloneForWindow:
* @metaWindow: A #MetaWindow
*
* Given a #MetaWindow instance, find the WindowClone object
* which represents it in the workspaces display.
*/
lookupCloneForWindow: function (metaWindow) {
return this._workspaces.lookupCloneForMetaWindow(metaWindow);
},
/**
* activateWindow:
* @metaWindow: A #MetaWindow