mirror of https://github.com/FreeRDP/FreeRDP
[client,X11] X11 locking log with WITH_DEBUG_X11
This commit is contained in:
parent
1b2533674b
commit
2ac05d4d4a
|
@ -785,7 +785,9 @@ void xf_lock_x11_(xfContext* xfc, const char* fkt)
|
|||
XLockDisplay(xfc->display);
|
||||
|
||||
xfc->locked++;
|
||||
#ifdef WITH_DEBUG_X11
|
||||
WLog_VRB(TAG, "[%" PRIu32 "] from %s", xfc->locked, fkt);
|
||||
#endif
|
||||
}
|
||||
|
||||
void xf_unlock_x11_(xfContext* xfc, const char* fkt)
|
||||
|
@ -793,7 +795,10 @@ void xf_unlock_x11_(xfContext* xfc, const char* fkt)
|
|||
if (xfc->locked == 0)
|
||||
WLog_WARN(TAG, "X11: trying to unlock although not locked!");
|
||||
|
||||
#ifdef WITH_DEBUG_X11
|
||||
WLog_VRB(TAG, "[%" PRIu32 "] from %s", xfc->locked - 1, fkt);
|
||||
#endif
|
||||
|
||||
if (!xfc->UseXThreads)
|
||||
ReleaseMutex(xfc->mutex);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue