From 6604cc608a78318d07dae478b95d7788354e6c3b Mon Sep 17 00:00:00 2001 From: marc_culler Date: Wed, 9 Sep 2020 21:02:50 +0000 Subject: Also fix [3762a0a944] using the suggestion in the ticket from Christopher Chavez. --- macosx/tkMacOSXWm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12