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

@ -383,9 +383,9 @@ meta_display_handle_event (MetaDisplay *display,
* nor do we want to use them to sanity check other timestamps.
* See bug 313490 for more details.
*/
meta_warning ("Event has no timestamp! You may be using a broken "
"program such as xse. Please ask the authors of that "
"program to fix it.");
meta_topic (META_DEBUG_X11,
"Event has no timestamp! You may be using a program "
"injecting events with invalid timestamps.");
}
else
{

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;