aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11/backend.c')
-rw-r--r--backend/x11/backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 9eaf5664..6db9aa6c 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -572,9 +572,9 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
goto error_event;
}
- x11->depth = get_depth(x11->screen, 32);
+ x11->depth = get_depth(x11->screen, 24);
if (!x11->depth) {
- wlr_log(WLR_ERROR, "Failed to get 32-bit depth for X11 screen");
+ wlr_log(WLR_ERROR, "Failed to get 24-bit depth for X11 screen");
goto error_event;
}