diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-06 16:50:11 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-06 16:50:11 +0200 |
| commit | f9756d10d4d1c5ea7737cf3a237b1f966d6b7a01 (patch) | |
| tree | c88df1366e9af3097edd2025494564ea92e0cb2a /src/debug/HyprCtl.cpp | |
| parent | 0d7a8cca790e8fa71a83e4dce09fbe5a0af38cbc (diff) | |
changed C++ std to C++23, use std::string::contains
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 65b45901..ad72c68e 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -158,7 +158,7 @@ std::string dispatchKeyword(std::string in) { if (COMMAND == "monitor") g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords - if (COMMAND.find("input") != std::string::npos) + if (COMMAND.contains("input")) g_pInputManager->setKeyboardLayout(); // update kb layout Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str()); |
