From e72b153f87de2f5a33dc314a951b755d99cf86f2 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 24 May 2020 22:03:41 +0200 Subject: [PATCH] fix: ignore gtk unknown options --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index e0515d4f..dee28a40 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -252,7 +252,7 @@ int waybar::Client::main(int argc, char *argv[]) { if (!log_level.empty()) { spdlog::set_level(spdlog::level::from_str(log_level)); } - gtk_app = Gtk::Application::create(argc, argv, "fr.arouillard.waybar"); + gtk_app = Gtk::Application::create(argc, argv, "fr.arouillard.waybar", Gio::APPLICATION_HANDLES_COMMAND_LINE); gdk_display = Gdk::Display::get_default(); if (!gdk_display) { throw std::runtime_error("Can't find display");