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 ed139b64..15cebcd7 100644
--- a/openbox/window.c
+++ b/openbox/window.c
@@ -29,7 +29,7 @@ Window window_top(ObWindow *self)
g_assert_not_reached();
break;
case Window_Client:
- return ((Client*)self)->frame->window;
+ return ((ObClient*)self)->frame->window;
case Window_Internal:
return ((InternalWindow*)self)->win;
}
@@ -49,7 +49,7 @@ Window window_layer(ObWindow *self)
g_assert_not_reached();
break;
case Window_Client:
- return ((Client*)self)->layer;
+ return ((ObClient*)self)->layer;
case Window_Internal:
return Layer_Internal;
}