summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-31 10:00:10 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:25:31 -0500
commit52369e319f11e1189e8980f64974236eeb4de96e (patch)
tree53a1092786938f55aaee99f2678a885c454fbb1c /openbox/window.c
parent73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 (diff)
simplify window.h macros, and rename the window types to ObWindowClass for consistent name style
Diffstat (limited to 'openbox/window.c')
-rw-r--r--openbox/window.c6
1 files changed, 3 insertions, 3 deletions
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();