Log max cursor size on error

This commit is contained in:
Drew DeVault 2017-06-26 10:34:26 -04:00
parent 82322d81a7
commit 038dfdbc85
1 changed files with 1 additions and 1 deletions

View File

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