mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-22 15:45:22 +03:00
remove annoying LOG statement; add a small bit of debugging info
This commit is contained in:
parent
07dad10251
commit
4571f4cc6e
@ -18,6 +18,9 @@ set BONJOUR_SDK_HOME=%B_BONJOUR%
|
||||
REM full path to Qt stuff we need
|
||||
set B_QT_FULLPATH=%B_QT_ROOT%\%B_QT_VER%\%B_QT_MSVC%
|
||||
|
||||
echo Bonjour: %BONJOUR_SDK_HOME%
|
||||
echo Qt: %B_QT_FULLPATH%
|
||||
|
||||
rmdir /q /s build
|
||||
mkdir build
|
||||
if ERRORLEVEL 1 goto failed
|
||||
|
@ -232,6 +232,7 @@ ArchMultithreadWindows::waitCondVar(ArchCond cond,
|
||||
unlockMutex(mutex);
|
||||
|
||||
// wait for a signal or broadcast
|
||||
// TODO: this doesn't always signal when kill signals are sent
|
||||
DWORD result = WaitForMultipleObjects(3, handles, FALSE, winTimeout);
|
||||
|
||||
// cancel takes priority
|
||||
|
@ -126,7 +126,7 @@ MSWindowsDesks::MSWindowsDesks(
|
||||
m_events(events),
|
||||
m_stopOnDeskSwitch(stopOnDeskSwitch)
|
||||
{
|
||||
LOG((CLOG_DEBUG "Immune Keys Path: %s", ImmuneKeysPath));
|
||||
LOG((CLOG_DEBUG "Immune Keys Path: %s", ImmuneKeysPath.c_str()));
|
||||
|
||||
if (hookLibrary != NULL)
|
||||
queryHookLibrary(hookLibrary);
|
||||
@ -717,6 +717,7 @@ MSWindowsDesks::deskThread(void* vdesk)
|
||||
// populate immune keys list in the DLL's shared memory
|
||||
// before the hooks are activated
|
||||
auto list = immune_keys_list();
|
||||
LOG((CLOG_DEBUG "Found %u immune keys", list.size()));
|
||||
m_setImmuneKeys(list.data(), list.size());
|
||||
switch (m_install()) {
|
||||
case kHOOK_FAILED:
|
||||
|
@ -422,7 +422,6 @@ Server::isLockedToScreen() const
|
||||
{
|
||||
// locked if we say we're locked
|
||||
if (isLockedToScreenServer()) {
|
||||
LOG((CLOG_NOTE "Cursor is locked to screen, check Scroll Lock key"));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user