mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 22:52:20 +00:00
Log max cursor size on error
This commit is contained in:
parent
82322d81a7
commit
038dfdbc85
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user