Make monitor_repaint an option
This is a potentially useful feature for debugging the xrender backend, so make it a commandline option rather than an obscure compiler flag. Also this is only usable with xrender, for glx there are better tools for debugging. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -34,7 +34,6 @@
|
||||
// #define DEBUG_GLX_ERR 1
|
||||
// #define DEBUG_GLX_MARK 1
|
||||
// #define DEBUG_GLX_PAINTREG 1
|
||||
// #define MONITOR_REPAINT 1
|
||||
|
||||
// Whether to enable PCRE regular expression support in blacklists, enabled
|
||||
// by default
|
||||
@ -447,6 +446,8 @@ typedef struct ev_session_prepare ev_session_prepare;
|
||||
|
||||
/// Structure representing all options.
|
||||
typedef struct options_t {
|
||||
// === Debugging ===
|
||||
bool monitor_repaint;
|
||||
// === General ===
|
||||
/// The configuration file we used.
|
||||
char *config_file;
|
||||
|
Reference in New Issue
Block a user