Task #3954 - Make "lock to screen" log message go to NOTE level instead of DEBUG

This commit is contained in:
Nick Bolton 2014-03-17 11:14:56 +00:00
parent 28a6b16875
commit a97fa1428b

View File

@ -408,7 +408,7 @@ CServer::isLockedToScreen() const
{ {
// locked if we say we're locked // locked if we say we're locked
if (isLockedToScreenServer()) { if (isLockedToScreenServer()) {
LOG((CLOG_DEBUG "locked to screen")); LOG((CLOG_NOTE "cursor is locked to screen"));
return true; return true;
} }
@ -1452,7 +1452,7 @@ CServer::handleLockCursorToScreenEvent(const CEvent& event, void*)
// enter new state // enter new state
if (newState != m_lockedToScreen) { if (newState != m_lockedToScreen) {
m_lockedToScreen = newState; m_lockedToScreen = newState;
LOG((CLOG_DEBUG "cursor %s current screen", m_lockedToScreen ? "locked to" : "unlocked from")); LOG((CLOG_NOTE "cursor %s current screen", m_lockedToScreen ? "locked to" : "unlocked from"));
m_primaryClient->reconfigure(getActivePrimarySides()); m_primaryClient->reconfigure(getActivePrimarySides());
if (!isLockedToScreenServer()) { if (!isLockedToScreenServer()) {