add the initial framework of a window management interface. #561724

svn path=/trunk/; revision=70
This commit is contained in:
Dan Winship
2008-11-21 14:02:09 +00:00
parent 06bde9cc98
commit 7dba934b96
9 changed files with 335 additions and 6 deletions

View File

@ -84,6 +84,11 @@ g_module_check_init (GModule *module)
/* Event handling */
plugin->xevent_filter = xevent_filter;
/* This will also create the ShellWM, which will set the appropriate
* window management callbacks in plugin.
*/
_shell_global_set_plugin (shell_global_get(), plugin);
return NULL;
}
@ -125,8 +130,6 @@ do_init (const char *params)
plugin_state->gjs_context = gjs_context_new_with_search_path(search_path);
g_strfreev(search_path);
_shell_global_set_plugin (shell_global_get(), plugin);
plugin_state->panel_action = XInternAtom (meta_display_get_xdisplay (display),
"_GNOME_PANEL_ACTION", FALSE);
plugin_state->panel_action_run_dialog = XInternAtom (meta_display_get_xdisplay (display),