Skip to content

Commit

Permalink
core: make missing dpms extension non-fatal
Browse files Browse the repository at this point in the history
We are not using it for anything at the moment, and it is breaking CI.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Dec 19, 2023
1 parent fc62f6a commit ff691e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/picom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2132,8 +2132,7 @@ static session_t *session_init(int argc, char **argv, Display *dpy,
ext_info = xcb_get_extension_data(ps->c.c, &xcb_dpms_id);
ps->dpms_exists = ext_info && ext_info->present;
if (!ps->dpms_exists) {
log_fatal("No DPMS extension");
exit(1);
log_warn("No DPMS extension");
}

// Parse configuration file
Expand Down

0 comments on commit ff691e6

Please sign in to comment.