diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-12 21:02:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-12 21:02:41 +0000 |
| commit | fd5784c082de724b9ccde01977eac1e27a121201 (patch) | |
| tree | 8cbd1ed25abceadd0a26a76cd32a10e5b3c43592 /cwmcc/client_props.h | |
| parent | 4d510a8a922c90a2076e2a222e499f033e627eb8 (diff) | |
proper cwmcc_ prefixing.
add gulong *num and gulong num to funciton params where needed. cant use 0 to terminate an array of numbers
Diffstat (limited to 'cwmcc/client_props.h')
| -rw-r--r-- | cwmcc/client_props.h | 14 |
1 files changed, 8 insertions, 6 deletions
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); |
