Compare against NSNormalWindowLevel in IsAlwaysOnTop

This commit is contained in:
Kevin Sawicki 2016-09-22 09:41:06 -07:00
parent c336cf59c1
commit df03c92249

View file

@ -968,7 +968,7 @@ void NativeWindowMac::SetAlwaysOnTop(bool top, const std::string& level) {
}
bool NativeWindowMac::IsAlwaysOnTop() {
return [window_ level] == NSFloatingWindowLevel;
return [window_ level] != NSNormalWindowLevel;
}
void NativeWindowMac::Center() {