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:
parent
d053ccfb18
commit
0bf9727a31
@ -2061,14 +2061,15 @@ meta_display_ping_timeout (gpointer data)
|
|||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
meta_display_ping_window (MetaWindow *window,
|
meta_display_ping_window (MetaWindow *window,
|
||||||
guint32 serial)
|
guint32 serial)
|
||||||
{
|
{
|
||||||
MetaDisplay *display = window->display;
|
MetaDisplay *display = window->display;
|
||||||
MetaPingData *ping_data;
|
MetaPingData *ping_data;
|
||||||
|
|
||||||
if (serial == 0)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user