display: Fix intendation of an argument and add details to a warning

https://gitlab.gnome.org/GNOME/mutter/merge_requests/891
This commit is contained in:
Jonas Dreßler 2019-12-07 15:23:34 +01:00 committed by Jonas Ådahl
parent d053ccfb18
commit 0bf9727a31

View File

@ -2061,14 +2061,15 @@ meta_display_ping_timeout (gpointer data)
*/
void
meta_display_ping_window (MetaWindow *window,
guint32 serial)
guint32 serial)
{
MetaDisplay *display = window->display;
MetaPingData *ping_data;
if (serial == 0)
{
meta_warning ("Tried to ping a window with a bad serial! Not allowed.\n");
meta_warning ("Tried to ping window %s with a bad serial! Not allowed.\n",
window->desc);
return;
}