diff options
author | hobbs <hobbs> | 2006-09-06 22:39:28 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2006-09-06 22:39:28 (GMT) |
commit | 76db84f0e28288ac0e6da5dc33d1a97626efcf54 (patch) | |
tree | 2ba9cc0bf93a726ed5be5bd91f8d50a43b16fb71 /unix | |
parent | 94edca83e594d771323cb9f0b5a4e1e0d03d8dc5 (diff) | |
download | tk-76db84f0e28288ac0e6da5dc33d1a97626efcf54.zip tk-76db84f0e28288ac0e6da5dc33d1a97626efcf54.tar.gz tk-76db84f0e28288ac0e6da5dc33d1a97626efcf54.tar.bz2 |
* generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTION
* generic/tkInt.h: control of entry/text selection display
* generic/tkText.c: based on focus to the Tcl level,
* generic/tkWindow.c: controlled by ::tk::AlwaysShowSelection
* library/tk.tcl: (boolean, private). [Bug 1553691]
* macosx/tkMacOSXDefault.h:
* unix/tkUnixDefault.h:
* unix/tkUnixPort.h:
* win/tkWinDefault.h:
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixDefault.h | 3 | ||||
-rw-r--r-- | unix/tkUnixPort.h | 9 |
2 files changed, 3 insertions, 9 deletions
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h index ec3777c..7ea67f5 100644 --- a/unix/tkUnixDefault.h +++ b/unix/tkUnixDefault.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixDefault.h,v 1.23 2006/03/29 16:27:20 dgp Exp $ + * RCS: @(#) $Id: tkUnixDefault.h,v 1.24 2006/09/06 22:39:28 hobbs Exp $ */ #ifndef _TKUNIXDEFAULT @@ -502,6 +502,7 @@ #define DEF_TEXT_PADX "1" #define DEF_TEXT_PADY "1" #define DEF_TEXT_RELIEF "sunken" +#define DEF_TEXT_INACTIVE_SELECT_COLOR SELECT_BG #define DEF_TEXT_SELECT_COLOR SELECT_BG #define DEF_TEXT_SELECT_MONO BLACK #define DEF_TEXT_SELECT_BD_COLOR "1" diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h index 7092840..e8d4c67 100644 --- a/unix/tkUnixPort.h +++ b/unix/tkUnixPort.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: tkUnixPort.h,v 1.11 2006/03/13 18:19:19 dgp Exp $ + * RCS: @(#) $Id: tkUnixPort.h,v 1.12 2006/09/06 22:39:28 hobbs Exp $ */ #ifndef _UNIXPORT @@ -202,13 +202,6 @@ sprintf((buf), "%#08lx", (unsigned long) (w)) /* - * This macro indicates that entry and text widgets should display - * the selection highlight regardless of which window has the focus. - */ - -#define ALWAYS_SHOW_SELECTION - -/* * The following declaration is used to get access to a private Tcl interface * that is needed for portability reasons. * |