[client,x11] enable XSync with debug builds

This commit is contained in:
Armin Novak 2023-03-06 12:09:56 +01:00 committed by akallabeth
parent 8fdd261d25
commit c016562478

View File

@ -1740,8 +1740,11 @@ BOOL xf_setup_x11(xfContext* xfc)
WINPR_ASSERT(xfc); WINPR_ASSERT(xfc);
xfc->UseXThreads = TRUE; xfc->UseXThreads = TRUE;
#if !defined(NDEBUG)
/* uncomment below if debugging to prevent keyboard grap */ /* uncomment below if debugging to prevent keyboard grap */
/* xfc->debug = TRUE; */ xfc->debug = TRUE;
#endif
if (xfc->UseXThreads) if (xfc->UseXThreads)
{ {