summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
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();