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



commit 0bf9727a3163a4dec6b2005047d6a714edf9204c
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Sat Dec 7 15:23:34 2019 +0100

    display: Fix intendation of an argument and add details to a warning
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/891

 src/core/display.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 80a325125..889bdb542 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -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;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]