diff options
author | georgeps <georgeps> | 2008-08-19 15:52:11 (GMT) |
---|---|---|
committer | georgeps <georgeps> | 2008-08-19 15:52:11 (GMT) |
commit | b415513b0494bd382ba11d3b55d816b8d23b6d52 (patch) | |
tree | c84b392e06fb0dd9d69a9a13c3f46b8a56267704 /unix | |
parent | c280aabb1428748e32339173d5ee348885977ee0 (diff) | |
download | tk-b415513b0494bd382ba11d3b55d816b8d23b6d52.zip tk-b415513b0494bd382ba11d3b55d816b8d23b6d52.tar.gz tk-b415513b0494bd382ba11d3b55d816b8d23b6d52.tar.bz2 |
After some discussion with Joe English and subsequently the
X.org developers (Keith Packard in particular), it was discovered
that Tk is doing management of XIDs that it shouldn't need to do.
The very common XC-MISC extension which has come with every version
of X for the last 15 years is used with Xlib now, to retrieve the
information about the used/unused XIDs.
The public Tk_FreeXId is now a no-op.
Joe English reviewed the patch, and said "please commit."
The patch is associated with the bug tracker id: 2039720
generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted.
generic/tkInt.decls: Update the declarations for the now unused
internalstubs.
generic/tkIntDecls.h: Regenerated based on tkInt.decls.
generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls.
generic/tkStubInit.c
generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId.
macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro
definitions.
macosx/tkMacOSXXStubs.c: Remove the no-op
TkpWindowWasRecentlyDeleted.
unix/tkUnixEvent.c: Remove call to TkFreeXId.
unix/tkUnixXId.c: Remove a lot of unnecessary code (see above).
win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId.
win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixEvent.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c index 8335b09..e4b6f09 100644 --- a/unix/tkUnixEvent.c +++ b/unix/tkUnixEvent.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixEvent.c,v 1.28 2008/04/27 22:39:13 dkf Exp $ + * RCS: @(#) $Id: tkUnixEvent.c,v 1.29 2008/08/19 15:52:13 georgeps Exp $ */ #include "tkUnixInt.h" @@ -156,8 +156,6 @@ TkpCloseDisplay( { TkSendCleanup(dispPtr); - TkFreeXId(dispPtr); - TkWmCleanup(dispPtr); #ifdef TK_USE_INPUT_METHODS |