aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index e86d85f86..c18ebde97 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -1863,6 +1863,10 @@ void nxagentSetWMState(WindowPtr pWin, CARD32 desired)
-+ */
Bool nxagentRealizeWindow(WindowPtr pWin)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
if (nxagentScreenTrap)
{
return True;
@@ -1910,6 +1914,10 @@ Bool nxagentRealizeWindow(WindowPtr pWin)
/* See nxagentRealizeWindow for a description */
Bool nxagentUnrealizeWindow(WindowPtr pWin)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
if (nxagentScreenTrap)
{
return True;
@@ -1932,6 +1940,10 @@ Bool nxagentUnrealizeWindow(WindowPtr pWin)
void nxagentFrameBufferPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
if (pWin->backgroundState == BackgroundPixmap)
{
pWin->background.pixmap = nxagentVirtualPixmap(pWin->background.pixmap);
@@ -1972,6 +1984,10 @@ void nxagentFrameBufferPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what)
void nxagentPaintWindowBackground(WindowPtr pWin, RegionPtr pRegion, int what)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
if (pWin -> realized)
{
BoxPtr pBox = RegionRects(pRegion);
@@ -2008,6 +2024,10 @@ void nxagentPaintWindowBackground(WindowPtr pWin, RegionPtr pRegion, int what)
void nxagentPaintWindowBorder(WindowPtr pWin, RegionPtr pRegion, int what)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
/*
* The framebuffer operations don't take care of clipping to the
* actual area of the framebuffer so we need to clip ourselves.
@@ -2048,6 +2068,10 @@ void nxagentPaintWindowBorder(WindowPtr pWin, RegionPtr pRegion, int what)
*/
void nxagentCopyWindow(WindowPtr pWin, xPoint oldOrigin, RegionPtr oldRegion)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
fbCopyWindow(pWin, oldOrigin, oldRegion);
}
@@ -2092,6 +2116,10 @@ void nxagentClipNotify(WindowPtr pWin, int dx, int dy)
*/
void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_exposed)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: running for window [0x%x]....\n", __func__, pWin->drawable.id);
+ #endif
+
/*
* The problem: we want to synthetize the expose events internally, so
* that we reduce the time between a window operation and the corresp-