From 038dfdbc853a8cfddb55a1c200373d41bd204867 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 26 Jun 2017 10:34:26 -0400 Subject: [PATCH] Log max cursor size on error --- backend/drm/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/drm/drm.c b/backend/drm/drm.c index d5779c2cd..618274a64 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -313,7 +313,7 @@ static bool wlr_drm_output_set_cursor(struct wlr_output_state *output, bo_height = ret ? 64 : bo_height; if (width > bo_width || height > bo_width) { - wlr_log(L_INFO, "Cursor too large"); + wlr_log(L_INFO, "Cursor too large (max %dx%d)", (int)bo_width, (int)bo_height); return false; }