aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-30 17:56:09 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:10:05 +0200
commit7fa6c88089bb0731ba7e1c3c4e0a25acdff4e521 (patch)
tree6ac9ccc95b33a59314a349aec05735205da971e1
parent94c7091bcece8df786470888e003155dab13bf6c (diff)
downloadnx-libs-7fa6c88089bb0731ba7e1c3c4e0a25acdff4e521.tar.gz
nx-libs-7fa6c88089bb0731ba7e1c3c4e0a25acdff4e521.tar.bz2
nx-libs-7fa6c88089bb0731ba7e1c3c4e0a25acdff4e521.zip
Events.c: identify internal root window in nxagentInternalWindowInfo
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index b33ede2c8..40779f9b9 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -526,8 +526,8 @@ void nxagentInternalWindowInfo(WindowPtr pWin, int indent, Bool newLine)
int iReturnFormat;
unsigned char *pszReturnData = NULL;
- fprintf(stderr, "Window ID=[0x%lx] Remote ID=[0x%lx] ", pWin -> drawable.id,
- nxagentWindow(pWin));
+ fprintf(stderr, "Window ID=[0x%x] %s Remote ID=[0x%x] ", pWin -> drawable.id,
+ pWin->parent ? "" : "(the root window)", nxagentWindow(pWin));
result = GetWindowProperty(pWin, MakeAtom("WM_NAME", 7, False) , 0,
sizeof(CARD32), False, AnyPropertyType,