core: make missing dpms extension non-fatal

We are not using it for anything at the moment, and it is breaking CI.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2023-12-19 09:53:57 +00:00
parent a28e221b83
commit 6e0bad0034
No known key found for this signature in database
GPG Key ID: D3A4405BE6CC17F4
1 changed files with 1 additions and 2 deletions

View File

@ -2139,8 +2139,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