From 66f2cbed51a2f2a5fdcddb2a6ba93255a8077e6c Mon Sep 17 00:00:00 2001 From: Birger Schacht <1143280+bschacht@users.noreply.github.com> Date: Sat, 31 Aug 2019 17:50:56 +0000 Subject: [PATCH] Fix typo ouput -> output --- src/modules/sway/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sway/window.cpp b/src/modules/sway/window.cpp index 10362393..2e4ec468 100644 --- a/src/modules/sway/window.cpp +++ b/src/modules/sway/window.cpp @@ -20,7 +20,7 @@ void Window::onCmd(const struct Ipc::ipc_response& res) { try { std::lock_guard lock(mutex_); auto payload = parser_.parse(res.payload); - auto output = payload["ouput"].isString() ? payload["output"].asString() : ""; + auto output = payload["output"].isString() ? payload["output"].asString() : ""; std::tie(app_nb_, windowId_, window_, app_id_) = getFocusedNode(payload["nodes"], output); dp.emit(); } catch (const std::exception& e) {