]>
Dogcows Code - chaz/openbox/blob - openbox/window.c
8 GHashTable
*window_map
;
12 window_map
= g_hash_table_new(g_int_hash
, g_int_equal
);
15 void window_shutdown()
17 g_hash_table_destroy(window_map
);
20 Window
window_top(ObWindow
*self
)
24 return ((Menu
*)self
)->frame
;
26 return ((Dock
*)self
)->frame
;
28 /* not to be used for stacking */
29 g_assert_not_reached();
32 return ((ObClient
*)self
)->frame
->window
;
34 return ((InternalWindow
*)self
)->win
;
36 g_assert_not_reached();
40 Window
window_layer(ObWindow
*self
)
44 return Layer_Internal
;
46 return config_dock_layer
;
48 /* not to be used for stacking */
49 g_assert_not_reached();
52 return ((ObClient
*)self
)->layer
;
54 return Layer_Internal
;
56 g_assert_not_reached();
This page took 0.036129 seconds and 4 git commands to generate.