diff options
author | hobbs <hobbs@noemail.net> | 2002-06-15 02:15:51 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-06-15 02:15:51 (GMT) |
commit | f84bbe2b30148c4c0aa187ba36d4dda39beea8fd (patch) | |
tree | 10960247ed817110117b99b41508fcc2c6f42d16 /generic/tkInt.h | |
parent | dc09fc47d4599864459df7997f1cbe363a1200e0 (diff) | |
download | tk-f84bbe2b30148c4c0aa187ba36d4dda39beea8fd.zip tk-f84bbe2b30148c4c0aa187ba36d4dda39beea8fd.tar.gz tk-f84bbe2b30148c4c0aa187ba36d4dda39beea8fd.tar.bz2 |
* generic/tkBind.c (HandleEventGenerate):
* generic/tkInt.h: changed warpInProgress boolean from int to a
bit in the flags variable (TK_DISPLAY_IN_WARP)
FossilOrigin-Name: 6c6a1f616f68808270aa1c99e33da30973656a4c
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 4a7e74c..e2a3eb6 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: $Id: tkInt.h,v 1.48 2002/06/15 02:08:12 hobbs Exp $ + * RCS: $Id: tkInt.h,v 1.49 2002/06/15 02:15:51 hobbs Exp $ */ #ifndef _TKINT @@ -478,7 +478,6 @@ typedef struct TkDisplay { */ int mouseButtonState; /* current mouse button state for this * display */ - int warpInProgress; Window warpWindow; int warpX; int warpY; @@ -495,18 +494,21 @@ typedef struct TkDisplay { * Flag values for TkDisplay flags. * TK_DISPLAY_COLLAPSE_MOTION_EVENTS: (default on) * Indicates that we should collapse motion events on this display - * TK_DISPLAY_USE_IM: (default on) + * TK_DISPLAY_USE_IM: (default on, set via tk.tcl) * Whether to use input methods for this display * TK_DISPLAY_XIM_SPOT: (default off) * Indicates that we should use over-the-spot XIM on this display * TK_DISPLAY_WM_TRACING: (default off) * Whether we should do wm tracing on this display. + * TK_DISPLAY_IN_WARP: (default off) + * Indicates that we are in a pointer warp */ #define TK_DISPLAY_COLLAPSE_MOTION_EVENTS (1 << 0) #define TK_DISPLAY_USE_IM (1 << 1) #define TK_DISPLAY_XIM_SPOT (1 << 2) #define TK_DISPLAY_WM_TRACING (1 << 3) +#define TK_DISPLAY_IN_WARP (1 << 4) /* * One of the following structures exists for each error handler |