summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-09-09 21:02:50 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-09-09 21:02:50 (GMT)
commit6604cc608a78318d07dae478b95d7788354e6c3b (patch)
tree5d59d31da1a634e09f2df60e5d53715f29ca852a /macosx/tkMacOSXWm.c
parent22e941ecb6c39df473fa3ed938bdaeb0784aff76 (diff)
downloadtk-6604cc608a78318d07dae478b95d7788354e6c3b.zip
tk-6604cc608a78318d07dae478b95d7788354e6c3b.tar.gz
tk-6604cc608a78318d07dae478b95d7788354e6c3b.tar.bz2
Also fix [3762a0a944] using the suggestion in the ticket from Christopher Chavez.
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index a72874e..b55f039 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -6891,7 +6891,7 @@ ApplyContainerOverrideChanges(
}
} else {
if (wmPtr->macClass == kSimpleWindowClass &&
- oldAttributes == kWindowNoActivatesAttribute) {
+ (oldAttributes & kWindowNoActivatesAttribute)) {
wmPtr->macClass = kDocumentWindowClass;
wmPtr->attributes =
macClassAttrs[kDocumentWindowClass].defaultAttrs;