rename "current" monitor to "selected"

This commit is contained in:
Raphael Robatsch 2021-10-28 17:22:40 +02:00
parent 8e8e1b7614
commit 66939c0c7b

View file

@ -314,12 +314,12 @@ const std::string prefixShow = "show ";
const std::string prefixHide = "hide ";
const std::string prefixToggle = "toggle ";
const std::string argAll = "all";
const std::string argCurrent = "current";
const std::string argSelected = "selected";
template<typename T>
static void updateVisibility(const std::string &name, T updater)
{
auto isCurrent = name == argCurrent;
auto isCurrent = name == argSelected;
auto isAll = name == argAll;
for (auto& mon : monitors) {
if (isAll ||