From 52369e319f11e1189e8980f64974236eeb4de96e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Jan 2008 10:00:10 -0500 Subject: simplify window.h macros, and rename the window types to ObWindowClass for consistent name style --- openbox/window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/window.c') diff --git a/openbox/window.c b/openbox/window.c index 32f1ea52..f094602c 100644 --- a/openbox/window.c +++ b/openbox/window.c @@ -52,8 +52,8 @@ Window window_top(ObWindow *self) return WINDOW_AS_DOCK(self)->frame; case OB_WINDOW_CLASS_CLIENT: return WINDOW_AS_CLIENT(self)->frame->window; - case OB_WINDOW_CLASS_INTERNALWINDOW: - return WINDOW_AS_INTERNALWINDOW(self)->window; + case OB_WINDOW_CLASS_INTERNAL: + return WINDOW_AS_INTERNAL(self)->window; } g_assert_not_reached(); return None; @@ -67,7 +67,7 @@ ObStackingLayer window_layer(ObWindow *self) case OB_WINDOW_CLASS_CLIENT: return ((ObClient*)self)->layer; case OB_WINDOW_CLASS_MENUFRAME: - case OB_WINDOW_CLASS_INTERNALWINDOW: + case OB_WINDOW_CLASS_INTERNAL: return OB_STACKING_LAYER_INTERNAL; } g_assert_not_reached(); -- cgit v1.2.3