mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
Log max cursor size on error
This commit is contained in:
parent
82322d81a7
commit
038dfdbc85
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ static bool wlr_drm_output_set_cursor(struct wlr_output_state *output,
|
||||||
bo_height = ret ? 64 : bo_height;
|
bo_height = ret ? 64 : bo_height;
|
||||||
|
|
||||||
if (width > bo_width || height > bo_width) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue