Rework internals of ShellAppMonitor to use Metacity library

The code here is significantly cleaner if we use the data Metacity
already has cached and validated, rather than talking to X directly.

Also some preparatory work for extending the monitor API by
clarifying the name of the (current) main entry point.
This commit is contained in:
Colin Walters
2009-05-26 17:22:51 -04:00
parent 0ea01b31af
commit 278a44caf1
4 changed files with 30 additions and 153 deletions

View File

@ -68,8 +68,6 @@ GList *shell_global_get_windows (ShellGlobal *global);
void _shell_global_set_plugin (ShellGlobal *global,
MutterPlugin *plugin);
MetaScreen * shell_global_get_screen (ShellGlobal *global);
gboolean shell_global_grab_keyboard (ShellGlobal *global);
void shell_global_ungrab_keyboard (ShellGlobal *global);