First stab at showing windows in the overlay
shell-global.[ch]: Add shell_global_get_windows() to get the list of all MutterWindow for the screen Makefile.am: Include the metacity typelib so that we can reference the MutterWindow type js/ui/overlay.js: Cascade the open windows, scaled down in the overlay svn path=/trunk/; revision=24
This commit is contained in:
@ -159,6 +159,21 @@ shell_global_set_stage_input_area (ShellGlobal *global,
|
||||
mutter_plugin_set_stage_input_area (global->plugin, x, y, width, height);
|
||||
}
|
||||
|
||||
/**
|
||||
* shell_global_get_windows:
|
||||
*
|
||||
* Gets the list of MutterWindows for the plugin's screen
|
||||
*
|
||||
* Return value: (element-type MutterWindow) (transfer none): the list of windows
|
||||
*/
|
||||
GList *
|
||||
shell_global_get_windows (ShellGlobal *global)
|
||||
{
|
||||
g_return_if_fail (SHELL_IS_GLOBAL (global));
|
||||
|
||||
return mutter_plugin_get_windows (global->plugin);
|
||||
}
|
||||
|
||||
void
|
||||
_shell_global_set_plugin (ShellGlobal *global,
|
||||
MutterPlugin *plugin)
|
||||
|
Reference in New Issue
Block a user