diff options
author | hobbs <hobbs> | 2002-06-15 02:15:51 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-06-15 02:15:51 (GMT) |
commit | 11b4b98d1b57a31250dac923d121d85b7bf15048 (patch) | |
tree | 10960247ed817110117b99b41508fcc2c6f42d16 /generic/tkInt.h | |
parent | d18b292d99449aab54e2d042ee3dd2bd1a83891a (diff) | |
download | tk-11b4b98d1b57a31250dac923d121d85b7bf15048.zip tk-11b4b98d1b57a31250dac923d121d85b7bf15048.tar.gz tk-11b4b98d1b57a31250dac923d121d85b7bf15048.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)
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 |