diff options
author | hobbs <hobbs> | 2002-06-15 00:21:41 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-06-15 00:21:41 (GMT) |
commit | 5c1e5bf298b329ec7a45cd601f6b4b208b24411b (patch) | |
tree | 25e00fe02d0a56b2865927347847b8561353fd94 /generic/tkWindow.c | |
parent | 36d7ac0a1dfb49f2c05b66ff69dfc5cfabf3ebb6 (diff) | |
download | tk-5c1e5bf298b329ec7a45cd601f6b4b208b24411b.zip tk-5c1e5bf298b329ec7a45cd601f6b4b208b24411b.tar.gz tk-5c1e5bf298b329ec7a45cd601f6b4b208b24411b.tar.bz2 |
* generic/tk.decls: added TIP #84 implementation that adds a
* generic/tkDecls.h: Tk_CollapseMotionEvents API which controls
* generic/tkEvent.c: Tk's collapsing of incoming motion events
* generic/tkInt.h: on its windows. The default remains to do
* generic/tkStubInit.c: collapsing. Added a flags parameter to the
* generic/tkWindow.c: internal display structure to support this
* doc/QWinEvent.3: and be used in the future for other bits.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 5c1fd17..6bee9fa 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWindow.c,v 1.46 2002/06/14 22:25:12 jenglish Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.47 2002/06/15 00:21:42 hobbs Exp $ */ #include "tkPort.h" @@ -470,6 +470,11 @@ GetScreen(interp, screenName, screenPtr) dispPtr->cursorFont = None; dispPtr->warpWindow = None; dispPtr->multipleAtom = None; + /* + * By default we do want to collapse motion events in + * Tk_QueueWindowEvent. + */ + dispPtr->flags |= TK_DISPLAY_COLLAPSE_MOTION_EVENTS; Tcl_InitHashTable(&dispPtr->winTable, TCL_ONE_WORD_KEYS); |