summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-28 02:10:23 +0000
committerDana Jansens <danakj@orodu.net>2003-08-28 02:10:23 +0000
commitc34ef4028e504b8ce862b9c2e47b284ab66717dd (patch)
tree5abae73563e8b11972a33e7f76867610f85db308 /openbox/window.c
parentcadab91e522c6426cc79df4f06e7c05232cb0a64 (diff)
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
Diffstat (limited to 'openbox/window.c')
-rw-r--r--openbox/window.c4
1 files changed, 2 insertions, 2 deletions
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: