summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/window.c')
-rw-r--r--openbox/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/window.c b/openbox/window.c
index 781aa5db..8ca01b6f 100644
--- a/openbox/window.c
+++ b/openbox/window.c
@@ -41,7 +41,7 @@ Window window_layer(ObWindow *self)
{
switch (self->type) {
case Window_Menu:
- return Layer_Internal;
+ return OB_STACKING_LAYER_INTERNAL;
case Window_Dock:
return config_dock_layer;
case Window_DockApp:
@@ -51,7 +51,7 @@ Window window_layer(ObWindow *self)
case Window_Client:
return ((ObClient*)self)->layer;
case Window_Internal:
- return Layer_Internal;
+ return OB_STACKING_LAYER_INTERNAL;
}
g_assert_not_reached();
return None;