Lines Matching refs:pWin
72 PrintPropertys(WindowPtr pWin) in PrintPropertys() argument
77 pProp = pWin->userProps; in PrintPropertys()
90 dixLookupProperty(PropertyPtr *result, WindowPtr pWin, Atom propertyName, in dixLookupProperty() argument
98 for (pProp = wUserProps(pWin); pProp; pProp = pProp->next) in dixLookupProperty()
103 rc = XaceHookPropertyAccess(client, pWin, &pProp, access_mode); in dixLookupProperty()
111 deliverPropertyNotifyEvent(WindowPtr pWin, int state, PropertyPtr pProp) in deliverPropertyNotifyEvent() argument
115 .win = pWin, in deliverPropertyNotifyEvent()
121 .u.property.window = pWin->drawable.id, in deliverPropertyNotifyEvent()
129 DeliverEvents(pWin, &event, 1, (WindowPtr) NULL); in deliverPropertyNotifyEvent()
138 WindowPtr pWin; in ProcRotateProperties() local
145 rc = dixLookupWindow(&pWin, stuff->window, client, DixSetPropAccess); in ProcRotateProperties()
169 rc = dixLookupProperty(&pProp, pWin, atoms[i], client, in ProcRotateProperties()
187 deliverPropertyNotifyEvent(pWin, PropertyNewValue, props[i]); in ProcRotateProperties()
205 WindowPtr pWin; in ProcChangeProperty() local
232 err = dixLookupWindow(&pWin, stuff->window, client, DixSetPropAccess); in ProcChangeProperty()
244 err = dixChangeWindowProperty(client, pWin, stuff->property, stuff->type, in ProcChangeProperty()
254 dixChangeWindowProperty(ClientPtr pClient, WindowPtr pWin, Atom property, in dixChangeWindowProperty() argument
269 rc = dixLookupProperty(&pProp, pWin, property, pClient, access_mode); in dixChangeWindowProperty()
272 if (!pWin->optional && !MakeWindowOptional(pWin)) in dixChangeWindowProperty()
288 rc = XaceHookPropertyAccess(pClient, pWin, &pProp, in dixChangeWindowProperty()
296 pProp->next = pWin->optional->userProps; in dixChangeWindowProperty()
297 pWin->optional->userProps = pProp; in dixChangeWindowProperty()
347 rc = XaceHookPropertyAccess(pClient, pWin, &pProp, access_mode); in dixChangeWindowProperty()
363 deliverPropertyNotifyEvent(pWin, PropertyNewValue, pProp); in dixChangeWindowProperty()
369 DeleteProperty(ClientPtr client, WindowPtr pWin, Atom propName) in DeleteProperty() argument
374 rc = dixLookupProperty(&pProp, pWin, propName, client, DixDestroyAccess); in DeleteProperty()
379 if (pWin->optional->userProps == pProp) { in DeleteProperty()
381 if (!(pWin->optional->userProps = pProp->next)) in DeleteProperty()
382 CheckWindowOptionalNeed(pWin); in DeleteProperty()
386 prevProp = pWin->optional->userProps; in DeleteProperty()
392 deliverPropertyNotifyEvent(pWin, PropertyDelete, pProp); in DeleteProperty()
400 DeleteAllWindowProperties(WindowPtr pWin) in DeleteAllWindowProperties() argument
404 pProp = wUserProps(pWin); in DeleteAllWindowProperties()
406 deliverPropertyNotifyEvent(pWin, PropertyDelete, pProp); in DeleteAllWindowProperties()
413 if (pWin->optional) in DeleteAllWindowProperties()
414 pWin->optional->userProps = NULL; in DeleteAllWindowProperties()
449 WindowPtr pWin; in ProcGetProperty() local
461 rc = dixLookupWindow(&pWin, stuff->window, client, win_mode); in ProcGetProperty()
478 rc = dixLookupProperty(&pProp, pWin, stuff->property, client, prop_mode); in ProcGetProperty()
529 deliverPropertyNotifyEvent(pWin, PropertyDelete, pProp); in ProcGetProperty()
549 if (pWin->optional->userProps == pProp) { in ProcGetProperty()
551 if (!(pWin->optional->userProps = pProp->next)) in ProcGetProperty()
552 CheckWindowOptionalNeed(pWin); in ProcGetProperty()
556 prevProp = pWin->optional->userProps; in ProcGetProperty()
574 WindowPtr pWin; in ProcListProperties() local
580 rc = dixLookupWindow(&pWin, stuff->id, client, DixListPropAccess); in ProcListProperties()
584 for (pProp = wUserProps(pWin); pProp; pProp = pProp->next) in ProcListProperties()
592 for (pProp = wUserProps(pWin); pProp; pProp = pProp->next) { in ProcListProperties()
594 rc = XaceHookPropertyAccess(client, pWin, &realProp, DixGetAttrAccess); in ProcListProperties()
619 WindowPtr pWin; in ProcDeleteProperty() local
626 result = dixLookupWindow(&pWin, stuff->window, client, DixSetPropAccess); in ProcDeleteProperty()
634 return DeleteProperty(client, pWin, stuff->property); in ProcDeleteProperty()