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 @ File Index
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dmxwindow.c File Reference

#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)

Detailed Description

This file provides support for window-related functions.

Function Documentation

Bool dmxBEDestroyWindow WindowPtr  pWindow  ) 
 

Destroy pWindow on the back-end server.

void dmxChangeBorderWidth WindowPtr  pWindow,
unsigned int  width
 

Change border width for pWindow to width pixels.

Bool dmxChangeWindowAttributes WindowPtr  pWindow,
unsigned long  mask
 

Change the window attributes of pWindow.

void dmxCopyWindow WindowPtr  pWindow,
DDXPointRec  ptOldOrg,
RegionPtr  prgnSrc
 

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.

void dmxCreateAndRealizeWindow WindowPtr  pWindow,
Bool  doSync
 

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.

Bool dmxCreateWindow WindowPtr  pWindow  ) 
 

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().

Bool dmxDestroyWindow WindowPtr  pWindow  ) 
 

Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

Bool dmxInitWindow ScreenPtr  pScreen  ) 
 

Initialize the private area for the window functions.

void dmxPaintWindowBackground WindowPtr  pWindow,
RegionPtr  pRegion,
int  what
 

Paint background of pWindow in pRegion.

void dmxPaintWindowBorder WindowPtr  pWindow,
RegionPtr  pRegion,
int  what
 

Paint window border for pWindow in pRegion.

Bool dmxPositionWindow WindowPtr  pWindow,
int  x,
int  y
 

Change the position of pWindow to be x, y.

Bool dmxRealizeWindow WindowPtr  pWindow  ) 
 

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.

void dmxReparentWindow WindowPtr  pWindow,
WindowPtr  pPriorParent
 

Reparent pWindow on the back-end server.

void dmxResizeRootWindow WindowPtr  pRoot,
int  x,
int  y,
int  w,
int  h
 

Change the location and size of the "root" window. Called from #dmxReconfigureRootWindow().

void dmxResizeScreenWindow ScreenPtr  pScreen,
int  x,
int  y,
int  w,
int  h
 

Change the location and size of the "screen" window. Called from #dmxReconfigureScreenWindow().

void dmxResizeWindow WindowPtr  pWindow,
int  x,
int  y,
unsigned int  w,
unsigned int  h,
WindowPtr  pSib
 

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.

void dmxRestackWindow WindowPtr  pWindow,
WindowPtr  pOldNextSib
 

Handle window restacking. The actual restacking occurs in dmxDoRestackWindow().

void dmxSetShape WindowPtr  pWindow  ) 
 

Set shape of pWindow on the back-end server.

Bool dmxUnrealizeWindow WindowPtr  pWindow  ) 
 

Unrealize pWindow on the back-end server.

void dmxWindowExposures WindowPtr  pWindow,
RegionPtr  prgn,
RegionPtr  other_exposed
 

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.


Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @initial import of xorg-server-1.4.2 @ text @@ 1.1.1.2 log @import xorg-server 1.9.2. important changes since 1.6.5 include: - built-in symbol visibility, default not export - fixes for various crashes - many fixes for XI2, EXA, dix, render, glx, xkb, EDID, randr, Xv, resource handling, Xext, vfb, xfree86 / vga and composite support. - fixes several memory leaks - many many documentation updates - record extension enabled - no longer looks for XF86Config files @ text @d9 55 a63 61

dmxwindow.c File Reference

#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"
d65 14 a78 14

Detailed Description

This file provides support for window-related functions.


Function Documentation

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)
d80 1 d82 19 a100 14

Destroy pWindow on the back-end server.

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, and _dmxWinPriv::window.

Referenced by dmxBEDestroyWindowTree(), and dmxDestroyWindow().

Bool dmxBEDestroyWindow ( WindowPtr  pWindow  ) 
d102 4 a105 4 a107 1 d109 3 a111 2 d115 2 a116 2 d118 1 d120 19 a138 14
void dmxChangeBorderWidth ( WindowPtr  pWindow, unsigned int  width )
d140 4 a143 4 a145 1 d147 3 a149 2 d153 2 a154 2 d156 1 d158 19 a176 14
Bool dmxChangeWindowAttributes ( WindowPtr  pWindow, unsigned long  mask )
d178 4 a181 4 a183 1 d185 3 a187 2 a189 1 d191 3 a193 2 d197 2 a198 2 d200 1 d202 19 a220 14

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.

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_COPY, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

Referenced by dmxCopyWindow(), and dmxScreenInit().

void dmxCopyWindow ( WindowPtr  pWindow, DDXPointRec  ptOldOrg, RegionPtr  prgnSrc )
d222 4 a225 4 a227 1 d229 3 a231 2 d235 2 a236 2 d238 1 d240 27 a266 3

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.

d268 27 a294 17

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxCreateNonRootWindow(), dmxCreatePictureList(), dmxDoRestackWindow(), dmxDoSetShape(), dmxScreens, dmxSync(), _dmxWinPriv::hasPict, _dmxWinPriv::isShaped, _dmxWinPriv::mapped, _dmxWinPriv::restacked, and _dmxWinPriv::window.

Referenced by dmxBECreateWindowTree(), dmxCopyWindow(), dmxCreateNonRootWindow(), dmxForceWindowCreation(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), and dmxResizeWindow().

void dmxCreateAndRealizeWindow ( WindowPtr  pWindow, Bool  doSync )
a295 7
static Window dmxCreateNonRootWindow ( WindowPtr  pWindow  )  [static]

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
d298 26 a323 20
Window dmxCreateRootWindow ( WindowPtr  pWindow  ) 
a324 8
Bool dmxCreateWindow ( WindowPtr  pWindow  ) 
d327 19 a345 14

Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEDestroyWindow(), dmxDestroyPictureList(), dmxDestroyWindow(), dmxScreens, and dmxSync().

Referenced by dmxDestroyWindow(), and dmxScreenInit().

Bool dmxDestroyWindow ( WindowPtr  pWindow  ) 
d347 4 a350 4 a352 1 d354 3 a356 2 a358 1 d360 3 a362 2 d366 2 a367 2 a368 7
static void dmxDoChangeWindowAttributes ( WindowPtr  pWindow, unsigned long *  mask, XSetWindowAttributes *  attribs ) [static]
d371 19 a389 13
static void dmxDoRestackWindow ( WindowPtr  pWindow  )  [static]
d391 4 a394 6 a395 14
static void dmxDoSetShape ( WindowPtr  pWindow  )  [static]
d397 4 a400 4 a402 1 a403 5 d405 2 a406 2 d410 2 a411 2 a412 3
void dmxGetDefaultWindowAttributes ( WindowPtr  pWindow, Colormap *  cmap,
Visual **  visual )
d415 19 a433 14

Initialize the private area for the window functions.

References dmxWinPrivateKeyRec.

Referenced by dmxScreenInit().

Bool dmxInitWindow ( ScreenPtr  pScreen  ) 
d435 4 a438 4 a440 1 d442 3 a444 2 a446 1 d448 3 a450 2 d454 2 a455 2 d457 1 d459 27 a485 7
Bool dmxPositionWindow ( WindowPtr  pWindow, int  x, int  y )
d488 19 a506 14

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.

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_REALIZE, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCreateAndRealizeWindow(), dmxRealizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

Referenced by dmxRealizeWindow(), and dmxScreenInit().

Bool dmxRealizeWindow ( WindowPtr  pWindow  ) 
d508 4 a511 4 a513 1 d515 3 a517 2 d521 2 a522 2 d524 1 d526 19 a544 14
void dmxReparentWindow ( WindowPtr  pWindow, WindowPtr  pPriorParent )
d546 4 a549 4 a551 1 d553 3 a555 2 a557 1 d559 3 a561 2 a563 1 d565 3 a567 2 a569 1 d571 3 a573 2 d577 2 a578 2 d580 1 d582 19 a600 14

Change the location and size of the "root" window. Called from dmxConfigureRootWindow.

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, dmxSync(), _dmxWinPriv::mapped, and _dmxWinPriv::window.

Referenced by dmxCreateWindow().

void dmxResizeRootWindow ( WindowPtr  pRoot, int  x, int  y, int  w, int  h )
d602 4 a605 4 a607 1 d609 3 a611 2 a613 1 d615 3 a617 2 a619 1 d621 3 a623 2 a625 1 d627 3 a629 2 d633 2 a634 2 d636 1 d638 19 a656 12

Change the location and size of the "screen" window. Called from dmxConfigureScreenWindow().

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), and _DMXScreenInfo::scrnWin.

void dmxResizeScreenWindow ( ScreenPtr  pScreen, int  x, int  y, int  w, int  h )
d658 4 a661 4 a663 1 d665 3 a667 2 a669 1 a670 5 d672 2 a673 2 a675 1 a676 5 d678 2 a679 2 a682 26
void dmxResizeWindow ( WindowPtr  pWindow, int  x, int  y,
unsigned int  w, unsigned int  h,
WindowPtr  pSib )

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().

d684 2 a685 2 a688 26
void dmxRestackWindow ( WindowPtr  pWindow,
WindowPtr  pOldNextSib )
d690 2 a691 2 d695 2 a696 2 a697 8
void dmxSetShape ( WindowPtr  pWindow,
int  kind )

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
d700 19 a718 14
Bool dmxUnrealizeWindow ( WindowPtr  pWindow  ) 
d720 4 a723 4 a725 1 a726 5 d728 2 a729 2 d733 2 a734 2 d736 1 d738 27 a764 2
d766 28 a793 1

Referenced by dmxWindowExposures().

d795 20 a814 6
static Bool dmxWindowExposurePredicate ( Display *  dpy, XEvent *  ev,
XPointer  ptr ) [static]
d816 4 a819 4 a821 1 d823 3 a825 2 a827 1 d829 3 a831 2 d835 2 a836 2 d838 1 d840 14 a853 11

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.

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxSync(), dmxWindowExposurePredicate(), dmxWindowExposures(), and _dmxWinPriv::window.

Referenced by dmxScreenInit(), and dmxWindowExposures().

@ 1.1.1.3 log @initial import of xorg-server 1.10.3. highlights include: - fixes xorg bugs 29969, 30367, 30527, 30267, 30260, 29046, 30260, 31548, 28672, 24887, 32115, 21457, 32436, 21827, 28414, 24703, 32803, 16318, 33449, 33324, 33929, 35082, 35209, 36146, 36119 - many additional NULL checks - adjustments related to input ABI 12 - *lots* of dead code removal - vga arbitrator fixes - GL fixes - EDID fixes - conversion to using asprintf() in many places - many fixes from valgrind, compiler warnings see these for more details: http://lists.freedesktop.org/archives/xorg-announce/2011-February/001612.html http://lists.freedesktop.org/archives/xorg-announce/2011-April/001646.html http://lists.freedesktop.org/archives/xorg-announce/2011-May/001675.html http://lists.freedesktop.org/archives/xorg-announce/2011-July/001710.html @ text @d9 3 a11 2
void dmxWindowExposures ( WindowPtr  pWindow, RegionPtr  prgn, RegionPtr  other_exposed )
d45 25 a69 25 d71 3 a73 3

Detailed Description

This file provides support for window-related functions.


Function Documentation

d81 3 a83 2 d104 2 a105 2 d110 2 a111 2 d116 1 a116 1 d136 2 a137 2 d142 2 a143 2 d148 1 a148 1 d168 2 a169 2 d174 2 a175 2 d180 2 a181 2 d186 1 a186 1 d206 2 a207 2 d212 2 a213 2 d218 1 a218 1 d238 3 a240 2 d260 3 a262 2 d282 3 a284 2 d305 3 a307 2 d328 2 a329 2 d334 2 a335 2 d340 2 a341 2 d346 1 a346 1 d365 3 a367 2 d387 3 a389 2 d409 2 a410 2 d415 2 a416 2 d421 2 a422 2 d427 1 a427 1 d446 3 a448 2 d469 2 a470 2 d475 2 a476 2 d481 2 a482 2 d487 1 a487 1 d507 3 a509 2 d530 2 a531 2 d536 2 a537 2 d542 1 a542 1 d562 2 a563 2 d568 2 a569 2 d574 2 a575 2 d580 2 a581 2 d586 2 a587 2 d592 1 a592 1 d597 1 a597 1

Change the location and size of the "root" window. Called from #dmxConfigureRootWindow.

d612 2 a613 2 d618 2 a619 2 d624 2 a625 2 d630 2 a631 2 d636 2 a637 2 d642 1 a642 1 d647 1 a647 1

Change the location and size of the "screen" window. Called from #dmxConfigureScreenWindow().

d660 2 a661 2 d666 2 a667 2 d672 2 a673 2 d678 2 a679 2 d684 2 a685 2 d690 2 a691 2 d696 1 a696 1 d716 2 a717 2 d722 2 a723 2 d728 1 a728 1 d748 2 a749 2 d754 2 a755 2 d760 1 a760 1 d780 3 a782 2 d803 2 a804 2 d809 2 a810 2 d815 2 a816 2 d821 1 a821 1 d838 2 a839 2 d844 2 a845 2 d850 2 a851 2 d856 1 a856 1 a869 4
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)
WindowPtr  pWindow)WindowPtr  pWindow, unsigned int  width WindowPtr  pWindow, unsigned long  mask WindowPtr  pWindow, DDXPointRec  ptOldOrg, RegionPtr  prgnSrc WindowPtr  pWindow, Bool  doSync WindowPtr  pWindow)WindowPtr  pWindow)WindowPtr  pWindow)WindowPtr  pWindow)WindowPtr  pWindow, unsigned long *  mask, XSetWindowAttributes *  attribs  [static]WindowPtr  pWindow)WindowPtr  pWindow)WindowPtr  pWindow, Colormap *  cmap, Visual **  visual ScreenPtr  pScreen)WindowPtr  pWindow, int  x, int  y WindowPtr  pWindow)WindowPtr  pWindow, WindowPtr  pPriorParent WindowPtr  pRoot, int  x, int  y, int  w, int  h ScreenPtr  pScreen, int  x, int  y, int  w, int  h WindowPtr  pWindow, int  x, int  y, unsigned int  w, unsigned int  h, WindowPtr  pSib WindowPtr  pWindow, WindowPtr  pOldNextSib WindowPtr  pWindow, int  kind WindowPtr  pWindow)Display *  dpy, XEvent *  ev, XPointer  ptr  [static]WindowPtr  pWindow, RegionPtr  prgn, RegionPtr  other_exposed