From 122d55fbadea0409fbc902a1740e1c8ff3aecd88 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 17:03:05 +0000 Subject: prefixing and capitalizing the StackLayer -> ObStackingLayer enum. less includes in headers for less rebuilding on changes --- openbox/menu.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'openbox/menu.h') diff --git a/openbox/menu.h b/openbox/menu.h index d9cb2a8f..9beb8f2a 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -2,16 +2,19 @@ #define __menu_h #include "action.h" +#include "window.h" #include "render/render.h" #include "geom.h" #include +struct _ObClient; + struct Menu; struct MenuEntry; typedef void(*menu_controller_show)(struct Menu *self, - int x, int y, ObClient *); + int x, int y, struct _ObClient *); typedef void(*menu_controller_update)(struct Menu *self); typedef void(*menu_controller_mouseover)(struct MenuEntry *self, gboolean enter); @@ -45,7 +48,7 @@ typedef struct Menu { /* render stuff */ - ObClient *client; + struct _ObClient *client; Window frame; Window title; RrAppearance *a_title; @@ -104,8 +107,8 @@ Menu *menu_new_full(char *label, char *name, Menu *parent, menu_controller_show show, menu_controller_update update); void menu_free(char *name); -void menu_show(char *name, int x, int y, ObClient *client); -void menu_show_full(Menu *menu, int x, int y, ObClient *client); +void menu_show(char *name, int x, int y, struct _ObClient *client); +void menu_show_full(Menu *menu, int x, int y, struct _ObClient *client); void menu_hide(Menu *self); -- cgit v1.2.3