Skip to content

Commit d28fb26

Browse files
committed
Merge pull request godotengine#89716 from theromis/master
[X11] Add more details to large icon size warning
2 parents 1260ee6 + ece8685 commit d28fb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/linuxbsd/x11/display_server_x11.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5210,7 +5210,7 @@ void DisplayServerX11::set_icon(const Ref<Image> &p_icon) {
52105210
if (g_set_icon_error) {
52115211
g_set_icon_error = false;
52125212

5213-
WARN_PRINT("Icon too large, attempting to resize icon.");
5213+
WARN_PRINT(vformat("Icon too large (%dx%d), attempting to downscale icon.", w, h));
52145214

52155215
int new_width, new_height;
52165216
if (w > h) {

0 commit comments

Comments
 (0)