1 /*#ifndef __cwmcc_root_props_h
2 #define __cwmcc_root_props_h*/
7 void cwmcc_root_get_supported(Window win, Atom **atoms, gulong *num);
9 void cwmcc_root_get_client_list(Window win, Window **windows, gulong *num);
11 void cwmcc_root_get_client_list_stacking(Window win, Window **windows,
14 void cwmcc_root_get_number_of_desktops(Window win, gulong *desktops);
16 void cwmcc_root_get_desktop_geometry(Window win, gulong *w, gulong *h);
18 void cwmcc_root_get_desktop_viewport(Window win, gulong *x, gulong *y);
20 void cwmcc_root_get_current_desktop(Window win, gulong *desktop);
22 void cwmcc_root_get_desktop_names(Window win, char ***names);
24 void cwmcc_root_get_active_window(Window win, Window *window);
26 void cwmcc_root_get_workarea(Window win, int **x, int **y, int **w, int **h);
28 void cwmcc_root_get_supporting_wm_check(Window win, Window *window);
30 /*! Orientation of the desktops */
31 enum Cwmcc_Orientation {
32 Cwmcc_Orientation_Horz = 0,
33 Cwmcc_Orientation_Vert = 1
37 Cwmcc_Corner_TopLeft = 0,
38 Cwmcc_Corner_TopRight = 1,
39 Cwmcc_Corner_BottomRight = 2,
40 Cwmcc_Corner_BottomLeft = 3
43 struct Cwmcc_DesktopLayout {
44 enum Cwmcc_Orientation orientation;
45 enum Cwmcc_Corner start_corner;
50 void cwmcc_root_get_desktop_layout(Window win,
51 struct Cwmcc_DesktopLayout *layout);
53 void cwmcc_root_get_showing_desktop(Window win, gboolean *showing);
55 void cwmcc_root_get_openbox_pid(Window win, gulong *pid);