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