[metacity] window-props: do not spew initial size_hints differences



commit 428fdd2f1f0c64d4e5992579c2c3c2c5fa216362
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Oct 3 16:32:00 2022 +0300

    window-props: do not spew initial size_hints differences

 src/core/window-props.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/core/window-props.c b/src/core/window-props.c
index 2acb2063..b6489504 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -1492,7 +1492,8 @@ reload_normal_hints (MetaWindow    *window,
 
       meta_set_normal_hints (window, value->v.size_hints);
 
-      spew_size_hints_differences (&old_hints, &window->size_hints);
+      if (!initial)
+        spew_size_hints_differences (&old_hints, &window->size_hints);
 
       meta_window_recalc_features (window);
 


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