summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 09:24:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 09:24:21 (GMT)
commit27afd154a9fc5f72d7a829b285c340766ef8c6ce (patch)
treeef8e82bfe8e93cd5d05b724b1462d6981ea86454 /macosx/tkMacOSXWm.c
parent880cdb78d06b59af92473975f26308d56a266979 (diff)
parentc5c29cc39d29340d28c498b3008ba0a9ca9f84bd (diff)
downloadtk-27afd154a9fc5f72d7a829b285c340766ef8c6ce.zip
tk-27afd154a9fc5f72d7a829b285c340766ef8c6ce.tar.gz
tk-27afd154a9fc5f72d7a829b285c340766ef8c6ce.tar.bz2
consistant use of mode: objc for OSX, strip spaces from the end of lines
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 3a1da10..1bf6d2c 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -1657,14 +1657,14 @@ WmForgetCmd(
macWin = (MacDrawable *) winPtr->window;
TkFocusJoin(winPtr);
- Tk_UnmapWindow(frameWin);
+ 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);
/*
@@ -5328,7 +5328,7 @@ WmWinStyle(
ApplyWindowAttributeFlagChanges(winPtr, NULL, oldAttributes, oldFlags,
0, 1);
-
+
return TCL_OK;
badClassAttrs:
@@ -5492,8 +5492,8 @@ TkMacOSXMakeRealWindowExist(
*/
[window setMovableByWindowBackground:NO];
}
-
-
+
+
/* Set background color and opacity of window if those flags are set. */
if (colorName != NULL) {
[window setBackgroundColor: colorName];
@@ -5502,7 +5502,7 @@ TkMacOSXMakeRealWindowExist(
if (opaqueTag != NULL) {
[window setOpaque: opaqueTag];
}
-
+
[window setDocumentEdited:NO];
wmPtr->window = window;
macWin->view = contentView;
@@ -6391,7 +6391,7 @@ TkMacOSXMakeFullscreen(
| NSApplicationPresentationAutoHideMenuBar];
} else {
- wmPtr->flags &= ~WM_FULLSCREEN;
+ wmPtr->flags &= ~WM_FULLSCREEN;
[NSApp setPresentationOptions: prevPres];
[window setStyleMask: prevMask];