summaryrefslogtreecommitdiffstats
path: root/generic/tkPointer.c
diff options
context:
space:
mode:
authorjenglish <jenglish@noemail.net>2002-06-14 22:25:10 (GMT)
committerjenglish <jenglish@noemail.net>2002-06-14 22:25:10 (GMT)
commitbe685bc42b5fe903a17f680bd393334fa7c13821 (patch)
treedb4f9b64945413c671514dd1b7f254700c3649cb /generic/tkPointer.c
parent241fbc3cb710c0d571462fabfe1337a9cc9f3fa1 (diff)
downloadtk-be685bc42b5fe903a17f680bd393334fa7c13821.zip
tk-be685bc42b5fe903a17f680bd393334fa7c13821.tar.gz
tk-be685bc42b5fe903a17f680bd393334fa7c13821.tar.bz2
TIP #47 "Modifying Tk to Allow Writing X Window managers"
(patch from Neil McKay). * Add CirculateRequest, Create, MapRequest, ResizeRequest, and ConfigureRequest event types; * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER, TK_WIN_MANAGED, and TK_TOP_HIERARCHY. FossilOrigin-Name: ad38fbacd7328c607131ee691e933fcc9aa67d3e
Diffstat (limited to 'generic/tkPointer.c')
-rw-r--r--generic/tkPointer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPointer.c b/generic/tkPointer.c
index c1a971b..0e4edf4 100644
--- a/generic/tkPointer.c
+++ b/generic/tkPointer.c
@@ -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: tkPointer.c,v 1.5 2001/11/23 02:07:02 das Exp $
+ * RCS: @(#) $Id: tkPointer.c,v 1.6 2002/06/14 22:25:12 jenglish Exp $
*/
#include "tkInt.h"
@@ -562,7 +562,7 @@ UpdateCursor(winPtr)
if (winPtr->atts.cursor != None) {
cursor = winPtr->atts.cursor;
break;
- } else if (winPtr->flags & TK_TOP_LEVEL) {
+ } else if (winPtr->flags & TK_TOP_HIERARCHY) {
break;
}
winPtr = winPtr->parentPtr;