X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fwindow.c;h=3f28a93f1dbe86d25524c14e81a2efafe34c6f8e;hb=854da68d0f5bed8c85c101fd6895244d60183ff5;hp=521d9e2d4cd1908cb9bca909a07f5a1f7b0cdf2a;hpb=a95dc346fe7951dd48e41a41fcaafb6d872b0337;p=chaz%2Fopenbox 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: