summaryrefslogtreecommitdiff
path: root/tk/unix/tkUnix.c
diff options
context:
space:
mode:
Diffstat (limited to 'tk/unix/tkUnix.c')
-rw-r--r--tk/unix/tkUnix.c32
1 files changed, 31 insertions, 1 deletions
diff --git a/tk/unix/tkUnix.c b/tk/unix/tkUnix.c
index 097b1b27828..3b099540eed 100644
--- a/tk/unix/tkUnix.c
+++ b/tk/unix/tkUnix.c
@@ -40,7 +40,8 @@ TkGetServerInfo(interp, tkwin)
Tk_Window tkwin; /* Token for window; this selects a
* particular display and server. */
{
- char buffer[50], buffer2[50];
+ char buffer[8 + TCL_INTEGER_SPACE * 2];
+ char buffer2[TCL_INTEGER_SPACE];
sprintf(buffer, "X%dR%d ", ProtocolVersion(Tk_Display(tkwin)),
ProtocolRevision(Tk_Display(tkwin)));
@@ -77,3 +78,32 @@ TkGetDefaultScreenName(interp, screenName)
}
return screenName;
}
+
+/*
+ *----------------------------------------------------------------------
+ *
+ * Tk_UpdatePointer --
+ *
+ * Unused function in UNIX
+ *
+ * Results:
+ * None.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------
+ */
+
+void
+Tk_UpdatePointer(tkwin, x, y, state)
+ Tk_Window tkwin; /* Window to which pointer event
+ * is reported. May be NULL. */
+ int x, y; /* Pointer location in root coords. */
+ int state; /* Modifier state mask. */
+{
+ /*
+ * This function intentionally left blank
+ */
+}
+