fix: correct wrong screen entered warning
In #7437, we replaced an assert with an if for logging, but forgot to negate the if clause
This commit is contained in:
parent
8cdf735925
commit
1d7a7585c7
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ Screen::~Screen()
|
||||||
// Perhaps it indicates that the cursor is still being controlled on the
|
// Perhaps it indicates that the cursor is still being controlled on the
|
||||||
// client while it's shutting down? i.e. the screen is entered and is not the
|
// client while it's shutting down? i.e. the screen is entered and is not the
|
||||||
// server, or the screen is not entered and is the server.
|
// server, or the screen is not entered and is the server.
|
||||||
if (m_entered == m_isPrimary) {
|
if (m_entered != m_isPrimary) {
|
||||||
LOG(
|
LOG(
|
||||||
(CLOG_DEBUG "current screen: entered=%s, primary=%s", //
|
(CLOG_DEBUG "current screen: entered=%s, primary=%s", //
|
||||||
m_entered ? "yes" : "no", m_isPrimary ? "yes" : "no")
|
m_entered ? "yes" : "no", m_isPrimary ? "yes" : "no")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue