summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 08:52:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 08:52:05 (GMT)
commit2da8c8ef3be8a1ac136a7fda7f4d53a21e36cc62 (patch)
tree3acdd29ee57643ab022569f14b066e1359056863 /macosx/tkMacOSXWm.c
parentc38626d1adc195c2d87e1d6c16fa61ab473683a5 (diff)
downloadtk-2da8c8ef3be8a1ac136a7fda7f4d53a21e36cc62.zip
tk-2da8c8ef3be8a1ac136a7fda7f4d53a21e36cc62.tar.gz
tk-2da8c8ef3be8a1ac136a7fda7f4d53a21e36cc62.tar.bz2
remove RCS keywords, use mode: objc consistantly
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 9967581..1f4e2e2 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-
+
#include "tkMacOSXPrivate.h"
#include "tkScrollbar.h"
#include "tkMacOSXWm.h"
@@ -1651,20 +1651,20 @@ WmForgetCmd(
macWin = (MacDrawable *) winPtr->window;
- TkFocusJoin(winPtr);
- Tk_UnmapWindow(frameWin);
+ TkFocusJoin(winPtr);
+ Tk_UnmapWindow(frameWin);
macWin->toplevel = winPtr->parentPtr->privatePtr->toplevel;
macWin->flags &= ~TK_HOST_EXISTS;
TkWmDeadWindow(winPtr);
RemapWindows(winPtr, (MacDrawable *) winPtr->parentPtr->window);
-
+
winPtr->flags &=~(TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED);
/*
- * Flags (above) must be cleared before calling TkMapTopFrame (below).
- */
+ * Flags (above) must be cleared before calling TkMapTopFrame (below).
+ */
TkMapTopFrame(frameWin);
} else {
@@ -5049,7 +5049,7 @@ TkUnsupported1ObjCmd(
}
}
-
+
winPtr = (TkWindow *)
Tk_NameToWindow(interp, Tcl_GetString(objv[2]), tkwin);
if (winPtr == NULL) {
@@ -5264,7 +5264,7 @@ WmWinStyle(
ApplyWindowAttributeFlagChanges(winPtr, NULL, oldAttributes, oldFlags,
0, 1);
-
+
return TCL_OK;
badClassAttrs:
@@ -5429,8 +5429,8 @@ TkMacOSXMakeRealWindowExist(
*/
[window setMovableByWindowBackground:NO];
}
-
-
+
+
/* Set background color and opacity of window if those flags are set. */
if (colorName != NULL) {
[window setBackgroundColor: colorName];
@@ -5439,7 +5439,7 @@ TkMacOSXMakeRealWindowExist(
if (opaqueTag != NULL) {
[window setOpaque: opaqueTag];
}
-
+
[window setDocumentEdited:NO];
wmPtr->window = window;
macWin->view = contentView;
@@ -6331,7 +6331,7 @@ TkMacOSXMakeFullscreen(
[NSApp setPresentationOptions: prevPres];
[window setStyleMask: prevMask];
}
-
+
if (wasFullscreen && !(wmPtr->flags & WM_FULLSCREEN)) {
UInt64 oldAttributes = wmPtr->attributes;
NSRect bounds = NSMakeRect(wmPtr->configX, tkMacOSXZeroScreenHeight -