diff options
Diffstat (limited to 'openbox/window.c')
| -rw-r--r-- | openbox/window.c | 4 |
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: |
