Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ namespace Gala {
// Most things inside this "later" depend on GTK. We get segfaults if we try to do GTK stuff before the window manager
// is initialized, so we hold this stuff off until we're ready to draw
laters.add (Meta.LaterType.BEFORE_REDRAW, () => {
unowned string xdg_session_type = Environment.get_variable ("XDG_SESSION_TYPE");
if (xdg_session_type == "x11") {
if (!Meta.Util.is_wayland_compositor ()) {
string[] args = {};
unowned string[] _args = args;
Gtk.init (ref _args);
Expand Down
Loading