summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2005-03-23 22:15:25 (GMT)
committerwolfsuit <wolfsuit>2005-03-23 22:15:25 (GMT)
commit05963ced8e8d4dec5a58d5dfa865c1878806fa16 (patch)
treef825e5c72887f0789a4990c6d2eb207dc3069915 /generic/tkWindow.c
parent40916d5667e543846e310bb8b2eef387093d5a7b (diff)
downloadtk-05963ced8e8d4dec5a58d5dfa865c1878806fa16.zip
tk-05963ced8e8d4dec5a58d5dfa865c1878806fa16.tar.gz
tk-05963ced8e8d4dec5a58d5dfa865c1878806fa16.tar.bz2
2005-03-23 Jim Ingham <jingham@apple.com>
This is cleanup thanks to Neil Madden <nem@cs.nott.ac.uk>. * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function. (TkUnsupported1ObjCmd): New function, replaces the un-objectified version of the command. * generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd. * generic/tkWindow.c (): Ditto. This adds a "-notify" flag to "wm attributes" that will bounce the dock icon on Mac OS X. This is from Revar Desmera <revarbat@gmail.com> * macosx/tkMacOSXWm.c (WmAttrGetNotifyStatus, WmAttrSetNotifyStatus): New functions. (WmAttributesCmd): Add the -notify. * doc/wm.n: Document -notify.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index d392241..0d34290 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -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: tkWindow.c,v 1.66 2005/01/07 11:14:39 dkf Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.67 2005/03/23 22:17:26 wolfsuit Exp $
*/
#include "tkPort.h"
@@ -177,7 +177,7 @@ static TkCmd commands[] = {
#if defined(MAC_OSX_TK)
{"::tk::unsupported::MacWindowStyle",
- TkUnsupported1Cmd, NULL, 1, 1},
+ NULL, TkUnsupported1ObjCmd, 1, 1},
#endif
{(char *) NULL, (int (*) _ANSI_ARGS_((ClientData, Tcl_Interp *, int, CONST char **))) NULL, NULL, 0}
};