1
0
Fork 0
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:
Yuxuan Shui 2024-04-14 18:24:40 +01:00
parent 4c001f3368
commit b9fab89918
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -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;