summaryrefslogtreecommitdiffstats
path: root/unix/tkUnix.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-11-16 20:39:47 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-11-16 20:39:47 (GMT)
commitd8f50ac067d2f0df387ca0b0c46278c2464efc8b (patch)
tree4c40167ca8b673d38459b4478944b8bc60cc4a7f /unix/tkUnix.c
parentc56ea97892bf4b5716fd0c88709b0ef0cb130995 (diff)
parenta9827f93eadc2978316098553e09406dae1f5520 (diff)
downloadtk-bug-b1d115fa60.zip
tk-bug-b1d115fa60.tar.gz
tk-bug-b1d115fa60.tar.bz2
Diffstat (limited to 'unix/tkUnix.c')
-rw-r--r--unix/tkUnix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/tkUnix.c b/unix/tkUnix.c
index 2de6e98..ed024d1 100644
--- a/unix/tkUnix.c
+++ b/unix/tkUnix.c
@@ -199,8 +199,12 @@ TkpBuildRegionFromAlphaData(
long
Tk_GetUserInactiveTime(
- Display *dpy) /* The display for which to query the inactive
+ #ifdef HAVE_XSS
+ Display *dpy) /* The display for which to query the inactive
* time. */
+#else
+ TCL_UNUSED(Display *))
+#endif /* HAVE_XSS */
{
long inactiveTime = -1;
#ifdef HAVE_XSS