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



commit 14ee133731c474a79ba8905f30f6c7527a41a2e4
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 e32178977f..a10e6f2feb 100644
--- a/src/x11/meta-x11-display.c
+++ b/src/x11/meta-x11-display.c
@@ -1300,13 +1300,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]