7 Window window_top(ObWindow *self)
11 return ((Menu*)self)->frame;
13 return ((Slit*)self)->frame;
15 return ((Client*)self)->frame->window;
17 g_assert_not_reached();
21 Window window_layer(ObWindow *self)
25 return Layer_Internal;
27 return ((Slit*)self)->layer;
29 return ((Client*)self)->layer;
31 g_assert_not_reached();