head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.31; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.31; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.21; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.51; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
#include "dmx.h"#include "dmxsync.h"#include "dmxwindow.h"#include "dmxpixmap.h"#include "dmxcmap.h"#include "dmxvisual.h"#include "dmxinput.h"#include "dmxextension.h"#include "dmxpict.h"#include "windowstr.h"Functions | |
| Bool | dmxInitWindow (ScreenPtr pScreen) |
| void | dmxResizeScreenWindow (ScreenPtr pScreen, int x, int y, int w, int h) |
| void | dmxResizeRootWindow (WindowPtr pRoot, int x, int y, int w, int h) |
| void | dmxCreateAndRealizeWindow (WindowPtr pWindow, Bool doSync) |
| Bool | dmxCreateWindow (WindowPtr pWindow) |
| Bool | dmxBEDestroyWindow (WindowPtr pWindow) |
| Bool | dmxDestroyWindow (WindowPtr pWindow) |
| Bool | dmxPositionWindow (WindowPtr pWindow, int x, int y) |
| Bool | dmxChangeWindowAttributes (WindowPtr pWindow, unsigned long mask) |
| Bool | dmxRealizeWindow (WindowPtr pWindow) |
| Bool | dmxUnrealizeWindow (WindowPtr pWindow) |
| void | dmxRestackWindow (WindowPtr pWindow, WindowPtr pOldNextSib) |
| void | dmxWindowExposures (WindowPtr pWindow, RegionPtr prgn, RegionPtr other_exposed) |
| void | dmxPaintWindowBackground (WindowPtr pWindow, RegionPtr pRegion, int what) |
| void | dmxPaintWindowBorder (WindowPtr pWindow, RegionPtr pRegion, int what) |
| void | dmxCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc) |
| void | dmxResizeWindow (WindowPtr pWindow, int x, int y, unsigned int w, unsigned int h, WindowPtr pSib) |
| void | dmxReparentWindow (WindowPtr pWindow, WindowPtr pPriorParent) |
| void | dmxChangeBorderWidth (WindowPtr pWindow, unsigned int width) |
| void | dmxSetShape (WindowPtr pWindow) |
|
|
Destroy pWindow on the back-end server. |
|
||||||||||||
|
Change border width for pWindow to width pixels. |
|
||||||||||||
|
Change the window attributes of pWindow. |
|
||||||||||||||||
|
Move pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled. |
|
||||||||||||
|
This function handles lazy window creation and realization. Window creation is handled by dmxCreateNonRootWindow(). It also handles any stacking changes that have occured since the window was originally created by calling dmxDoRestackWindow(). If the window is shaped, the shape is set on the back-end server by calling dmxDoSetShape(), and if the window has pictures (from RENDER) associated with it, those pictures are created on the back-end server by calling dmxCreatePictureList(). If doSync is TRUE, then dmxSync() is called. |
|
|
Create pWindow on the back-end server. If the lazy window creation optimization is enabled, then the actual creation and realization of the window is handled by dmxCreateAndRealizeWindow(). |
|
|
Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well. |
|
|
Initialize the private area for the window functions. |
|
||||||||||||||||
|
Paint background of pWindow in pRegion. |
|
||||||||||||||||
|
Paint window border for pWindow in pRegion. |
|
||||||||||||||||
|
Change the position of pWindow to be x, y. |
|
|
Realize pWindow on the back-end server. If the lazy window creation optimization is enabled, the window is only realized when it at least partially overlaps the screen. |
|
||||||||||||
|
Reparent pWindow on the back-end server. |
|
||||||||||||||||||||||||
|
Change the location and size of the "root" window. Called from #dmxReconfigureRootWindow(). |
|
||||||||||||||||||||||||
|
Change the location and size of the "screen" window. Called from #dmxReconfigureScreenWindow(). |
|
||||||||||||||||||||||||||||
|
Resize pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled. |
|
||||||||||||
|
Handle window restacking. The actual restacking occurs in dmxDoRestackWindow(). |
|
|
Set shape of pWindow on the back-end server. |
|
|
Unrealize pWindow on the back-end server. |
|
||||||||||||||||
|
Handle exposures on pWindow. Since window exposures are handled in DMX, the events that are generated by the back-end server are redundant, so we eat them here. |
#include "dmx.h"#include "dmxsync.h"#include "dmxwindow.h"#include "dmxpixmap.h"#include "dmxcmap.h"#include "dmxvisual.h"#include "dmxinput.h"#include "dmxextension.h"#include "dmxpict.h"#include "windowstr.h"Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static void | dmxDoRestackWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static void | dmxDoChangeWindowAttributes (WindowPtr pWindow, unsigned long *mask, XSetWindowAttributes *attribs) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static void | dmxDoSetShape (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxInitWindow (ScreenPtr pScreen) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Window | dmxCreateRootWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxResizeScreenWindow (ScreenPtr pScreen, int x, int y, int w, int h) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxResizeRootWindow (WindowPtr pRoot, int x, int y, int w, int h) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxGetDefaultWindowAttributes (WindowPtr pWindow, Colormap *cmap, Visual **visual) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static Window | dmxCreateNonRootWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxCreateAndRealizeWindow (WindowPtr pWindow, Bool doSync) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxCreateWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxBEDestroyWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxDestroyWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxPositionWindow (WindowPtr pWindow, int x, int y) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxChangeWindowAttributes (WindowPtr pWindow, unsigned long mask) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxRealizeWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool | dmxUnrealizeWindow (WindowPtr pWindow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxRestackWindow (WindowPtr pWindow, WindowPtr pOldNextSib) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| static Bool | dmxWindowExposurePredicate (Display *dpy, XEvent *ev, XPointer ptr) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxWindowExposures (WindowPtr pWindow, RegionPtr prgn, RegionPtr other_exposed) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxResizeWindow (WindowPtr pWindow, int x, int y, unsigned int w, unsigned int h, WindowPtr pSib) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxReparentWindow (WindowPtr pWindow, WindowPtr pPriorParent) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxChangeBorderWidth (WindowPtr pWindow, unsigned int width) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void | dmxSetShape (WindowPtr pWindow, int kind) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bool dmxBEDestroyWindow | ( | WindowPtr | pWindow | ) | d80 1 d82 19 a100 14 |
| void dmxChangeBorderWidth | ( | WindowPtr | pWindow, | a107 1d109 3 a111 2 | unsigned int | width | d115 2 a116 2 | ) | d118 1 d120 19 a138 14 |
| Bool dmxChangeWindowAttributes | ( | WindowPtr | pWindow, | a145 1d147 3 a149 2 | unsigned long | mask | d153 2 a154 2 | ) | d156 1 d158 19 a176 14 |
| void dmxCopyWindow | ( | WindowPtr | pWindow, | a183 1d185 3 a187 2 | DDXPointRec | ptOldOrg, | a189 1d191 3 a193 2 | RegionPtr | prgnSrc | d197 2 a198 2 | ) | d200 1 d202 19 a220 14 |
| void dmxCreateAndRealizeWindow | ( | WindowPtr | pWindow, | a227 1d229 3 a231 2 | Bool | doSync | d235 2 a236 2 | ) | d238 1 d240 27 a266 3 |
| static Window dmxCreateNonRootWindow | ( | WindowPtr | pWindow | ) | [static] |
a295 7
References _dmxWinPriv::attribMask, _DMXScreenInfo::beDisplay, _dmxWinPriv::cmap, DMX_GET_WINDOW_PRIV, dmxCreateAndRealizeWindow(), dmxDoChangeWindowAttributes(), dmxScreens, _dmxWinPriv::restacked, _dmxWinPriv::visual, and _dmxWinPriv::window.
Referenced by dmxCreateAndRealizeWindow(), and dmxCreateWindow().
a296 14| Window dmxCreateRootWindow | ( | WindowPtr | pWindow | ) |
| Bool dmxCreateWindow | ( | WindowPtr | pWindow | ) | a324 8 |
Create pWindow on the back-end server. If the lazy window creation optimization is enabled, then the actual creation and realization of the window is handled by dmxCreateAndRealizeWindow().
References _dmxWinPriv::attribMask, _DMXScreenInfo::beDisplay, _dmxWinPriv::cmap, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCreateNonRootWindow(), dmxCreateRootWindow(), dmxCreateWindow(), dmxGetDefaultWindowAttributes(), dmxLazyWindowCreation, dmxLookupVisualFromID(), dmxResizeRootWindow(), dmxScreens, dmxSync(), dmxUpdateScreenResources(), _dmxWinPriv::hasPict, _DMXScreenInfo::index, _dmxWinPriv::isShaped, _dmxWinPriv::mapped, _dmxWinPriv::offscreen, _dmxWinPriv::restacked, _DMXScreenInfo::rootHeight, _DMXScreenInfo::rootWidth, _DMXScreenInfo::rootWin, _DMXScreenInfo::rootX, _DMXScreenInfo::rootY, _DMXScreenInfo::scrnHeight, _DMXScreenInfo::scrnWidth, _DMXScreenInfo::scrnX, _DMXScreenInfo::scrnY, _dmxWinPriv::visual, and _dmxWinPriv::window.
Referenced by dmxCreateWindow(), and dmxScreenInit().
a325 14| Bool dmxDestroyWindow | ( | WindowPtr | pWindow | ) |
| static void dmxDoChangeWindowAttributes | ( | WindowPtr | pWindow, | a352 1d354 3 a356 2 | unsigned long * | mask, | a358 1d360 3 a362 2 | XSetWindowAttributes * | attribs | d366 2 a367 2 | ) | [static] |
a368 7
References _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_GET_PIXMAP_PRIV, and _dmxPixPriv::pixmap.
Referenced by dmxChangeWindowAttributes(), dmxCreateNonRootWindow(), and dmxCreateRootWindow().
a369 14| static void dmxDoRestackWindow | ( | WindowPtr | pWindow | ) | [static] |
| static void dmxDoSetShape | ( | WindowPtr | pWindow | ) | [static] |
a395 14
References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, and _dmxWinPriv::window.
Referenced by dmxCreateAndRealizeWindow(), and dmxSetShape().
| void dmxGetDefaultWindowAttributes | ( | WindowPtr | pWindow, | a402 1a403 5 | Colormap * | cmap, | |
| d405 2 a406 2 | Visual ** | visual | d410 2 a411 2 | ) | a412 3 |
References _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, dmxColormapFromDefaultVisual(), and dmxLookupVisualFromID().
Referenced by dmxBECreateWindowTree(), and dmxCreateWindow().
| Bool dmxInitWindow | ( | ScreenPtr | pScreen | ) |
| Bool dmxPositionWindow | ( | WindowPtr | pWindow, | a440 1d442 3 a444 2 | int | x, | a446 1d448 3 a450 2 | int | y | d454 2 a455 2 | ) | d457 1 d459 27 a485 7 |
| Bool dmxRealizeWindow | ( | WindowPtr | pWindow | ) |
| void dmxReparentWindow | ( | WindowPtr | pWindow, | a513 1d515 3 a517 2 | WindowPtr | pPriorParent | d521 2 a522 2 | ) | d524 1 d526 19 a544 14 |
| void dmxResizeRootWindow | ( | WindowPtr | pRoot, | a551 1d553 3 a555 2 | int | x, | a557 1d559 3 a561 2 | int | y, | a563 1d565 3 a567 2 | int | w, | a569 1d571 3 a573 2 | int | h | d577 2 a578 2 | ) | d580 1 d582 19 a600 14 |
| void dmxResizeScreenWindow | ( | ScreenPtr | pScreen, | a607 1d609 3 a611 2 | int | x, | a613 1d615 3 a617 2 | int | y, | a619 1d621 3 a623 2 | int | w, | a625 1d627 3 a629 2 | int | h | d633 2 a634 2 | ) | d636 1 d638 19 a656 12 |
| void dmxResizeWindow | ( | WindowPtr | pWindow, | a663 1d665 3 a667 2 | int | x, | a669 1a670 5 | int | y, |
| d672 2 a673 2 | unsigned int | w, | a675 1a676 5 | unsigned int | h, | ||
| d678 2 a679 2 | WindowPtr | pSib | a682 26 | ) |
Resize pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled.
References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_RESIZE, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCreateAndRealizeWindow(), dmxResizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.
Referenced by dmxResizeWindow(), and dmxScreenInit().
| void dmxRestackWindow | ( | WindowPtr | pWindow, | ||||
| d684 2 a685 2 | WindowPtr | pOldNextSib | a688 26 | ) |
Handle window restacking. The actual restacking occurs in dmxDoRestackWindow().
References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_RESTACK, DMX_WRAP, dmxDoRestackWindow(), dmxRestackWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::restacked, and _dmxWinPriv::window.
Referenced by dmxRestackWindow(), and dmxScreenInit().
| void dmxSetShape | ( | WindowPtr | pWindow, | ||||
| d690 2 a691 2 | int | kind | d695 2 a696 2 | ) | a697 8 |
Set shape of pWindow on the back-end server.
References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxDoSetShape(), dmxScreens, dmxSetShape(), dmxSync(), _dmxWinPriv::isShaped, and _dmxWinPriv::window.
Referenced by dmxScreenInit(), and dmxSetShape().
a698 14| Bool dmxUnrealizeWindow | ( | WindowPtr | pWindow | ) |
| static Bool dmxWindowExposurePredicate | ( | Display * | dpy, | a725 1a726 5 | XEvent * | ev, | ||||||||||||||||
| d728 2 a729 2 | XPointer | ptr | d733 2 a734 2 | ) | [static] |
d736 1
d738 27
a764 2
| void dmxWindowExposures | ( | WindowPtr | pWindow, | a821 1d823 3 a825 2 | RegionPtr | prgn, | a827 1d829 3 a831 2 | RegionPtr | other_exposed | d835 2 a836 2 | ) | d838 1 d840 14 a853 11 |