core: Replace a couple of meta_warning() with 'x11' debug logs

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005>
This commit is contained in:
Jonas Ådahl
2024-12-31 00:07:53 +01:00
committed by Marge Bot
parent 681cd5d424
commit dea81517a3
2 changed files with 12 additions and 9 deletions

View File

@ -5723,12 +5723,15 @@ meta_window_recalc_features (MetaWindow *window)
* about these apps but make them work.
*/
meta_warning ("Window %s sets an MWM hint indicating it isn't resizable, but sets min size %d x %d and max size %d x %d; this doesn't make much sense.",
window->desc,
window->size_hints.min_width,
window->size_hints.min_height,
window->size_hints.max_width,
window->size_hints.max_height);
meta_topic (META_DEBUG_X11,
"Window %s sets an MWM hint indicating it isn't resizable, "
"but sets min size %d x %d and max size %d x %d; "
"this doesn't make much sense.",
window->desc,
window->size_hints.min_width,
window->size_hints.min_height,
window->size_hints.max_width,
window->size_hints.max_height);
}
window->has_fullscreen_func = TRUE;