diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-10-21 23:54:10 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-10-22 14:38:20 +0200 |
commit | 71abe0bebc85e839bf8cd67ad1d6f9cf0a9a5a96 (patch) | |
tree | 026ed0c86a76dd3835c83ca914ebae671b699ae4 /nx-X11/programs | |
parent | 97f768a26f19a730155fc73efdfe737cefee3462 (diff) | |
download | nx-libs-71abe0bebc85e839bf8cd67ad1d6f9cf0a9a5a96.tar.gz nx-libs-71abe0bebc85e839bf8cd67ad1d6f9cf0a9a5a96.tar.bz2 nx-libs-71abe0bebc85e839bf8cd67ad1d6f9cf0a9a5a96.zip |
enable CLIENTIDS functions in xserver
these can be used to determine the PID and name of an X11 client,
e.g. in debugging.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/include/os.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/include/os.h b/nx-X11/programs/Xserver/include/os.h index be41e0118..920b474db 100644 --- a/nx-X11/programs/Xserver/include/os.h +++ b/nx-X11/programs/Xserver/include/os.h @@ -557,4 +557,10 @@ extern int snprintf(char *str, size_t size, const char *format, ...) extern int vsnprintf(char *str, size_t size, const char *format, va_list ap); #endif +#ifdef DEBUG +#define DebugF ErrorF +#else +#define DebugF(...) /* */ +#endif + #endif /* OS_H */ |