Lines Matching refs:prop
50 struct _Property *prop;
62 prop = (struct _Property *) pwin->optional->userProps;
64 prop = NULL;
68 while (prop) {
69 if (prop->propertyName == XA_WM_CLASS
70 && prop->type == XA_STRING && prop->format == 8 && prop->data) {
75 len_name = strlen((char *) prop->data);
76 if (len_name > prop->size) len_name = prop->size;
86 strncpy((*res_name), prop->data, len_name);
90 len_class = (len_name >= prop->size) ? 0 : (strlen(((char *) prop->data) + 1 + len_name));
91 if (len_class > prop->size - 1 - len_name) len_class = prop->size - 1 - len_name;
104 strncpy((*res_class), ((char *) prop->data) + 1 + len_name, len_class);
110 prop = prop->next;
120 struct _Property *prop;
130 prop = (struct _Property *) pwin->optional->userProps;
132 prop = NULL;
136 while (prop) {
137 if (prop->propertyName == XA_WM_HINTS && prop->data) {
138 memcpy(hints, prop->data, sizeof(WinXWMHints));
142 prop = prop->next;
152 struct _Property *prop;
161 prop = (struct _Property *) pwin->optional->userProps;
163 prop = NULL;
166 while (prop) {
167 if (prop->propertyName == AtmWmWindowRole()
168 && prop->type == XA_STRING && prop->format == 8 && prop->data) {
169 len_role = prop->size;
178 strncpy((*res_role), prop->data, len_role);
184 prop = prop->next;
194 struct _Property *prop;
204 prop = (struct _Property *) pwin->optional->userProps;
206 prop = NULL;
210 while (prop) {
211 if (prop->propertyName == XA_WM_NORMAL_HINTS && prop->data) {
212 memcpy(hints, prop->data, sizeof(WinXSizeHints));
216 prop = prop->next;
226 struct _Property *prop;
236 prop = (struct _Property *) pwin->optional->userProps;
238 prop = NULL;
243 while (prop) {
244 if (prop->propertyName == XA_WM_TRANSIENT_FOR) {
246 memcpy(pDaddyId, prop->data, sizeof(Window));
250 prop = prop->next;
260 struct _Property *prop;
272 prop = (struct _Property *) pwin->optional->userProps;
274 prop = NULL;
278 while (prop) {
279 if (prop->propertyName == XA_WM_NAME
280 && prop->type == XA_STRING && prop->data) {
281 len_name = prop->size;
290 strncpy((*wmName), prop->data, len_name);
296 prop = prop->next;