diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-11-15 00:37:30 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-11-15 00:37:30 (GMT) |
commit | af6b3cd3e4c83b73e3c84cfd656bffd05523d141 (patch) | |
tree | 94a457439db11c45ad6ecdfc37d41d37f6d56919 /generic/tk.h | |
parent | d28676b1bedf7d3ce6cd75eae391856fcc1a70d0 (diff) | |
download | tk-af6b3cd3e4c83b73e3c84cfd656bffd05523d141.zip tk-af6b3cd3e4c83b73e3c84cfd656bffd05523d141.tar.gz tk-af6b3cd3e4c83b73e3c84cfd656bffd05523d141.tar.bz2 |
[Bug 2239034] Only frame widgets are acceptable for [wm manage]
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tk.h b/generic/tk.h index 058e64b..37f3a35 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -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: tk.h,v 1.109.2.8 2008/10/23 16:30:57 dgp Exp $ + * RCS: @(#) $Id: tk.h,v 1.109.2.9 2008/11/15 00:37:30 patthoyts Exp $ */ #ifndef _TK @@ -722,6 +722,8 @@ typedef XActivateDeactivateEvent XDeactivateEvent; (((Tk_FakeWin *) (tkwin))->flags & TK_WIN_MANAGED) #define Tk_TopWinHierarchy(tkwin) \ (((Tk_FakeWin *) (tkwin))->flags & TK_TOP_HIERARCHY) +#define Tk_IsManageable(tkwin) \ + (((Tk_FakeWin *) (tkwin))->flags & TK_WM_MANAGEABLE) #define Tk_ReqWidth(tkwin) (((Tk_FakeWin *) (tkwin))->reqWidth) #define Tk_ReqHeight(tkwin) (((Tk_FakeWin *) (tkwin))->reqHeight) /* Tk_InternalBorderWidth is deprecated */ @@ -857,6 +859,8 @@ typedef struct Tk_FakeWin { * TK_PROP_PROPCHANGE 1 means that PropertyNotify events in the * window's children should propagate up to this * window. + * TK_WM_MANAGEABLE 1 marks a window as capable of being converted + * into a toplevel using [wm manage]. */ #define TK_MAPPED 1 @@ -878,6 +882,7 @@ typedef struct Tk_FakeWin { #define TK_WIN_MANAGED 0x10000 #define TK_TOP_HIERARCHY 0x20000 #define TK_PROP_PROPCHANGE 0x40000 +#define TK_WM_MANAGEABLE 0x80000 /* *-------------------------------------------------------------- |