aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-05-26 01:08:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-17 22:38:05 +0200
commit4c6940cddb10c03127cf7775299e799960581e40 (patch)
tree5b320a19c86b0052ae72fb405cd1f493516896ca /nx-X11
parent199c32eaf3f02d58d9ec560b2838be52608471ef (diff)
downloadnx-libs-4c6940cddb10c03127cf7775299e799960581e40.tar.gz
nx-libs-4c6940cddb10c03127cf7775299e799960581e40.tar.bz2
nx-libs-4c6940cddb10c03127cf7775299e799960581e40.zip
Window.c: some more TEST and DEBUG output
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 94a1bb9ee..2dea31af0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -821,6 +821,9 @@ void nxagentSwitchAllScreens(ScreenPtr pScreen, Bool switchOn)
if (XCheckTypedWindowEvent(nxagentDisplay, w, ReparentNotify, &e))
{
+ #ifdef TEST
+ fprintf(stderr, "%s: found ReparentNotify event in iteration [%d].\n", __func__, i);
+ #endif
break;
}
@@ -970,6 +973,9 @@ void nxagentSwitchAllScreens(ScreenPtr pScreen, Bool switchOn)
if (nxagentOption(WMBorderWidth) > 0)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: WMBorderWidth [%d]\n", __func__, nxagentOption(WMBorderWidth));
+ #endif
nxagentChangeOption(X, nxagentOption(SavedX) - nxagentOption(WMBorderWidth));
}
else
@@ -979,6 +985,9 @@ void nxagentSwitchAllScreens(ScreenPtr pScreen, Bool switchOn)
if (nxagentOption(WMTitleHeight) > 0)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: WMTitleHeight [%d]\n", __func__, nxagentOption(WMTitleHeight));
+ #endif
nxagentChangeOption(Y, nxagentOption(SavedY) - nxagentOption(WMTitleHeight));
}
else