From 069555e3d4177f1cefaa104acabbb22f9e33f251 Mon Sep 17 00:00:00 2001 From: Kevin Morio Date: Fri, 14 Oct 2016 23:54:32 +0200 Subject: [PATCH] Scroll through workspaces on same monitor only --- include/modules/i3.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/modules/i3.hpp b/include/modules/i3.hpp index 0ba0cbe3..569a15bb 100644 --- a/include/modules/i3.hpp +++ b/include/modules/i3.hpp @@ -226,10 +226,10 @@ namespace modules { ipc.send_command("workspace number " + cmd.substr(strlen(EVENT_CLICK))); } else if (cmd.compare(0, strlen(EVENT_SCROLL_DOWN), EVENT_SCROLL_DOWN) == 0) { m_log.info("%s: Sending workspace prev command to ipc handler", name()); - ipc.send_command("workspace next"); + ipc.send_command("workspace next_on_output"); } else if (cmd.compare(0, strlen(EVENT_SCROLL_UP), EVENT_SCROLL_UP) == 0) { m_log.info("%s: Sending workspace next command to ipc handler", name()); - ipc.send_command("workspace prev"); + ipc.send_command("workspace prev_on_output"); } } catch (const std::exception& err) { m_log.err("%s: %s", name(), err.what());