X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=cwmcc%2Fclient_props.h;h=5ec1a886030e053098ad2e269129dcfc98bb5ae7;hb=5cf61ee02354c1c9f80c11f3796afc4b948055d6;hp=e88b214a83b826d4e3deabba0e0d48069762814a;hpb=43f01ee9f081c8cb473c3358bbc02f758ab0014b;p=chaz%2Fopenbox diff --git a/cwmcc/client_props.h b/cwmcc/client_props.h index e88b214a..5ec1a886 100644 --- a/cwmcc/client_props.h +++ b/cwmcc/client_props.h @@ -1,7 +1,8 @@ #ifndef __cwmcc_client_get_props_h #define __cwmcc_client_get_props_h -void cwmcc_client_get_protocols(Window win, Atom **protocols); +void cwmcc_client_get_protocols(Window win, Atom **protocols, gulong *num); +void cwmcc_client_set_protocols(Window win, Atom *protocols, gulong num); void cwmcc_client_get_wm_state(Window win, gulong *state); void cwmcc_client_set_wm_state(Window win, gulong state); @@ -60,13 +61,14 @@ void cwmcc_client_get_mwmhints(Window win, struct Cwmcc_MwmHints *hints); void cwmcc_client_get_desktop(Window win, gulong *desk); void cwmcc_client_set_desktop(Window win, gulong desk); -void cwmcc_client_get_type(Window win, gulong **types); -void cwmcc_client_set_type(Window win, gulong *types); +void cwmcc_client_get_type(Window win, gulong **types, gulong *num); +void cwmcc_client_set_type(Window win, gulong *types, gulong num); -void cwmcc_client_get_state(Window win, gulong **states); -void cwmcc_client_set_state(Window win, gulong *states); +void cwmcc_client_get_state(Window win, gulong **states, gulong *num); +void cwmcc_client_set_state(Window win, gulong *states, gulong num); void cwmcc_client_get_strut(Window win, int *l, int *t, int *r, int *b); +void cwmcc_client_set_strut(Window win, int l, int t, int r, int b); /*! Holds an icon in ARGB format */ struct Cwmcc_Icon { @@ -76,7 +78,7 @@ struct Cwmcc_Icon { /* Returns an array of Cwms_Icons. The array is terminated by a Cwmcc_Icon with its data member set to NULL */ -void cwmcc_client_get_icon(Window win, struct Cwmcc_Icon **icons); +void cwmcc_client_get_icon(Window win, struct Cwmcc_Icon **icons, gulong *num); void cwmcc_client_get_premax(Window win, int *x, int *y, int *w, int *h); void cwmcc_client_set_premax(Window win, int x, int y, int w, int h);