Compare against NSNormalWindowLevel in IsAlwaysOnTop
This commit is contained in:
parent
c336cf59c1
commit
df03c92249
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ void NativeWindowMac::SetAlwaysOnTop(bool top, const std::string& level) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NativeWindowMac::IsAlwaysOnTop() {
|
bool NativeWindowMac::IsAlwaysOnTop() {
|
||||||
return [window_ level] == NSFloatingWindowLevel;
|
return [window_ level] != NSNormalWindowLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindowMac::Center() {
|
void NativeWindowMac::Center() {
|
||||||
|
|
Loading…
Reference in a new issue