Lines Matching refs:pWindow
111 dmxGetWindowAttributes(WindowPtr pWindow, DMXWindowAttributesPtr attr) in dmxGetWindowAttributes() argument
113 dmxWinPrivPtr pWinPriv = DMX_GET_WINDOW_PRIV(pWindow); in dmxGetWindowAttributes()
115 attr->screen = pWindow->drawable.pScreen->myNum; in dmxGetWindowAttributes()
118 attr->pos.x = pWindow->drawable.x; in dmxGetWindowAttributes()
119 attr->pos.y = pWindow->drawable.y; in dmxGetWindowAttributes()
120 attr->pos.width = pWindow->drawable.width; in dmxGetWindowAttributes()
121 attr->pos.height = pWindow->drawable.height; in dmxGetWindowAttributes()
132 attr->vis.x = pWindow->drawable.x; in dmxGetWindowAttributes()
133 attr->vis.y = pWindow->drawable.y; in dmxGetWindowAttributes()
134 attr->vis.width = pWindow->drawable.width; in dmxGetWindowAttributes()
135 attr->vis.height = pWindow->drawable.height; in dmxGetWindowAttributes()
141 if (attr->pos.x + attr->pos.width > pWindow->drawable.pScreen->width) { in dmxGetWindowAttributes()
143 attr->vis.width = pWindow->drawable.pScreen->width; in dmxGetWindowAttributes()
145 attr->vis.width = pWindow->drawable.pScreen->width - attr->pos.x; in dmxGetWindowAttributes()
151 if (attr->pos.y + attr->pos.height > pWindow->drawable.pScreen->height) { in dmxGetWindowAttributes()
153 attr->vis.height = pWindow->drawable.pScreen->height; in dmxGetWindowAttributes()
155 attr->vis.height = pWindow->drawable.pScreen->height - attr->pos.y; in dmxGetWindowAttributes()
305 dmxForceWindowCreation(WindowPtr pWindow) in dmxForceWindowCreation() argument
307 dmxWinPrivPtr pWinPriv = DMX_GET_WINDOW_PRIV(pWindow); in dmxForceWindowCreation()
310 dmxCreateAndRealizeWindow(pWindow, TRUE); in dmxForceWindowCreation()