[mutter/gnome-42] x11-display: Make some init calls more compact



commit d11d698acda594629553357f581fb4b7b3f28ce6
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri May 27 10:49:57 2022 +0200

    x11-display: Make some init calls more compact
    
    Makes more of the function fit on the screen, without making readability
    any subjectively worse.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2432>
    (cherry picked from commit a24b14e30203d2fb9871d54bd57595498133fef9)

 src/x11/meta-x11-display.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/x11/meta-x11-display.c b/src/x11/meta-x11-display.c
index 5343633ce4..f4f313fa98 100644
--- a/src/x11/meta-x11-display.c
+++ b/src/x11/meta-x11-display.c
@@ -1329,13 +1329,9 @@ meta_x11_display_new (MetaDisplay *display, GError **error)
   meta_x11_display_init_events (x11_display);
 
   set_wm_icon_size_hint (x11_display);
-
   set_supported_hint (x11_display);
-
   set_wm_check_hint (x11_display);
-
   set_desktop_viewport_hint (x11_display);
-
   set_desktop_geometry_hint (x11_display);
 
   x11_display->ui = meta_ui_new (x11_display);


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