Skip to content

Commit

Permalink
Make xdg-shell optional (and off by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Jan 23, 2018
1 parent ad3c4e4 commit 26da528
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/server/frontend/wayland/wayland_connector.cpp
Expand Up @@ -2737,8 +2737,10 @@ mf::WaylandConnector::WaylandConnector(
display_config);
shell_global = std::make_unique<mf::WlShell>(display.get(), shell, *seat_global);
data_device_manager_global = std::make_unique<DataDeviceManager>(display.get());
xdg_shell_global = std::make_unique<mf::XdgShellV6>(display.get(), shell, *seat_global);
xdg_shell_global = std::make_unique<XdgShellV6>(display.get(), shell, *seat_global);

// The XDG shell support is currently too flaky to enable by default
if (getenv("MIR_EXPERIMENTAL_XDG_SHELL"))
xdg_shell_global = std::make_unique<XdgShellV6>(display.get(), shell, *seat_global);

wl_display_init_shm(display.get());

Expand Down

0 comments on commit 26da528

Please sign in to comment.