mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
region: fix log level check in dump_region
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
4c001f3368
commit
b9fab89918
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ typedef pixman_box32_t rect_t;
|
|||
RC_TYPE(region_t, rc_region, pixman_region32_init, pixman_region32_fini, static inline)
|
||||
|
||||
static inline void dump_region(const region_t *x) {
|
||||
if (log_get_level_tls() < LOG_LEVEL_TRACE) {
|
||||
if (log_get_level_tls() > LOG_LEVEL_TRACE) {
|
||||
return;
|
||||
}
|
||||
int nrects;
|
||||
|
|
Loading…
Reference in a new issue