7 Window window_top(ObWindow *self)
11 return ((Menu*)self)->frame;
13 return ((Slit*)self)->frame;
15 return ((Client*)self)->frame->window;
17 return ((InternalWindow*)self)->win;
19 g_assert_not_reached();
23 Window window_layer(ObWindow *self)
27 return Layer_Internal;
29 return ((Slit*)self)->layer;
31 return ((Client*)self)->layer;
33 return Layer_Internal;
35 g_assert_not_reached();