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>
This commit is contained in:
Jonas Ådahl 2022-05-27 10:49:57 +02:00
parent e83491d9b9
commit a24b14e302

View File

@ -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);