Skip to content

Commit

Permalink
Add warning on wayland, fix #247
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashark committed Oct 2, 2021
1 parent dd8c2a1 commit 547a2dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ int main(int argc, char* argv[])

QApplication::setQuitOnLastWindowClosed(false);

if (QGuiApplication::platformName() == "wayland") {
QMessageBox::warning(
NULL, "Barrier",
"You are using wayland session, which is currently not fully supported by Barrier.");
}

QSettings settings;
AppConfig appConfig (&settings);

Expand Down

0 comments on commit 547a2dd

Please sign in to comment.