#include "window.h"
-#include "menu.h"
+#include "menuframe.h"
#include "config.h"
#include "dock.h"
#include "client.h"
GHashTable *window_map;
-void window_startup()
+void window_startup(gboolean reconfig)
{
+ if (reconfig) return;
+
window_map = g_hash_table_new(g_int_hash, g_int_equal);
}
-void window_shutdown()
+void window_shutdown(gboolean reconfig)
{
+ if (reconfig) return;
+
g_hash_table_destroy(window_map);
}
{
switch (self->type) {
case Window_Menu:
- return ((ObMenu*)self)->frame;
+ return ((ObMenuFrame*)self)->window;
case Window_Dock:
return ((ObDock*)self)->frame;
case Window_DockApp: