diff options
author | Mihai Moldovan <ïonic@ionic.de> | 2016-04-09 19:38:12 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-05-31 12:11:59 +0200 |
commit | fe3fa5ef382d3475b1a2f62eac85f5b5847b9b5d (patch) | |
tree | 51b70d2e254ec1f7ea6b7e0a532c99b974856dc0 /nx-X11/programs/Xserver/dix/window.c | |
parent | 035995a8c16e8867f209100330653b33de06f458 (diff) | |
download | nx-libs-fe3fa5ef382d3475b1a2f62eac85f5b5847b9b5d.tar.gz nx-libs-fe3fa5ef382d3475b1a2f62eac85f5b5847b9b5d.tar.bz2 nx-libs-fe3fa5ef382d3475b1a2f62eac85f5b5847b9b5d.zip |
nx-X11/programs/Xserver/{dix/{colormap.c,window.c},hw/nxagent/NXwindow.c,include/{colormap,window{,str}}.h}: backport features needed for Composite 0.4.
Diffstat (limited to 'nx-X11/programs/Xserver/dix/window.c')
-rw-r--r-- | nx-X11/programs/Xserver/dix/window.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/dix/window.c b/nx-X11/programs/Xserver/dix/window.c index 916d7e276..c3d901fb9 100644 --- a/nx-X11/programs/Xserver/dix/window.c +++ b/nx-X11/programs/Xserver/dix/window.c @@ -535,9 +535,21 @@ ClippedRegionFromBox(register WindowPtr pWin, RegionPtr Rgn, RegionIntersect(Rgn, Rgn, &pWin->winSize); } +static RealChildHeadProc realChildHeadProc = NULL; + +void +RegisterRealChildHeadProc (RealChildHeadProc proc) +{ + realChildHeadProc = proc; +} + WindowPtr RealChildHead(register WindowPtr pWin) { + if (realChildHeadProc) { + return realChildHeadProc (pWin); + } + if (!pWin->parent && (screenIsSaved == SCREEN_SAVER_ON) && (HasSaverWindow (pWin->drawable.pScreen->myNum))) |