Less verbose X Errors


#1

Can you change this part:

// In juce_linux_Messaging.cpp AND juce_linux_Clipboard.cpp

//==============================================================================
#ifdef JUCE_DEBUG
 #define JUCE_DEBUG_XERRORS 1
#endif

to

//==============================================================================
#if defined(JUCE_DEBUG) && !defined(JUCE_DEBUG_XERRORS)
 #define JUCE_DEBUG_XERRORS 1
#endif

So we can #define JUCE_DEBUG_XERRORS to 0 and that doesn’t get overriden.


#2

Good idea. In fact, I think I’ll probably turn it off by default.


#3

…hang, on I’m confused… The code already looks like what you’re suggesting. What version are you looking at?


#4

An old old one. (I won’t post my last git commit rev number as it has no sense).
Ok, great then!


#5

Ok, I’ve updated to last git version, but you should remove the same #ifdef code in juce_linux_Clipboard.cpp as it’s not used in the file anyway.


#6

Ah, ok, I guess it just got left in that file by accident.