diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-12-09 10:45:30 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-12-09 10:45:30 (GMT) |
commit | dc8696c19cb002e54fa410b918352e091049e18b (patch) | |
tree | 55c59c8dd48b3e6a63dec09e5690d6163d5b33e8 /generic/tkInt.h | |
parent | 23e96237d65ce3c376c137556d831dbd7d0a30b1 (diff) | |
download | tk-dc8696c19cb002e54fa410b918352e091049e18b.zip tk-dc8696c19cb002e54fa410b918352e091049e18b.tar.gz tk-dc8696c19cb002e54fa410b918352e091049e18b.tar.bz2 |
Improve generation of EWMH hints for windows.
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index a145ab7..81e3967 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.113 2009/12/02 21:16:44 nijtmans Exp $ + * RCS: $Id: tkInt.h,v 1.114 2009/12/09 10:45:30 dkf Exp $ */ #ifndef _TKINT @@ -772,7 +772,8 @@ typedef struct TkWindow { * Information used by tkGeometry.c for geometry management. */ - const Tk_GeomMgr *geomMgrPtr; /* Information about geometry manager for this + const Tk_GeomMgr *geomMgrPtr; + /* Information about geometry manager for this * window. */ ClientData geomData; /* Argument for geometry manager functions. */ int reqWidth, reqHeight; /* Arguments from last call to @@ -791,7 +792,8 @@ typedef struct TkWindow { struct TkWmInfo *wmInfoPtr; /* For top-level windows (and also for special * Unix menubar and wrapper windows), points * to structure with wm-related info (see - * tkWm.c). For other windows, this is NULL. */ + * tkWm.c). For other windows, this is + * NULL. */ /* * Information used by widget classes. @@ -821,6 +823,14 @@ typedef struct TkWindow { } TkWindow; /* + * Flags passed to TkpMakeMenuWindow's 'transient' argument. + */ + +#define TK_MAKE_MENU_TEAROFF 0 /* Only non-transient case. */ +#define TK_MAKE_MENU_POPUP 1 +#define TK_MAKE_MENU_DROPDOWN 2 + +/* * The following structure is used with TkMakeEnsemble to create ensemble * commands and optionally to create sub-ensembles. */ |