diff options
author | Ian Roxborough <irox@redhat.com> | 2001-09-10 00:22:29 +0000 |
---|---|---|
committer | Ian Roxborough <irox@redhat.com> | 2001-09-10 00:22:29 +0000 |
commit | ee7709783c85577eba6af30cd711e17e403befed (patch) | |
tree | 74233a880ee1f7e13c7ded61d093318e8c6e7d5c /tk/unix/tkUnix.c | |
parent | a850c17c374d03259483e799b09326d255e17487 (diff) | |
download | gdb-TK_8_3.tar.gz |
Tk 8.3 upgradeTK_8_3
Diffstat (limited to 'tk/unix/tkUnix.c')
-rw-r--r-- | tk/unix/tkUnix.c | 32 |
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 + */ +} + |