From c34ef4028e504b8ce862b9c2e47b284ab66717dd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 28 Aug 2003 02:10:23 +0000 Subject: half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next. --- openbox/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/window.c') diff --git a/openbox/window.c b/openbox/window.c index 521d9e2d..3f28a93f 100644 --- a/openbox/window.c +++ b/openbox/window.c @@ -1,5 +1,5 @@ #include "window.h" -#include "menu.h" +#include "menuframe.h" #include "config.h" #include "dock.h" #include "client.h" @@ -21,7 +21,7 @@ Window window_top(ObWindow *self) { switch (self->type) { case Window_Menu: - return ((ObMenu*)self)->frame; + return ((ObMenuFrame*)self)->window; case Window_Dock: return ((ObDock*)self)->frame; case Window_DockApp: -- cgit v1.2.3