diff options
Diffstat (limited to 'src/progs/dyecmd')
-rw-r--r-- | src/progs/dyecmd/client.cpp | 8 | ||||
-rw-r--r-- | src/progs/dyecmd/client.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index 9c43b18bf..40b2ad48f 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -801,6 +801,14 @@ void Client::windowRemoved(const Window *const window) mCurrentDialog = nullptr; } +void Client::focusWindow() +{ + if (mCurrentDialog != nullptr) + { + mCurrentDialog->requestFocus(); + } +} + void Client::logVars() { #ifdef ANDROID diff --git a/src/progs/dyecmd/client.h b/src/progs/dyecmd/client.h index 88522e49a..89dd82e11 100644 --- a/src/progs/dyecmd/client.h +++ b/src/progs/dyecmd/client.h @@ -74,6 +74,8 @@ class Client final : public ActionListener void windowRemoved(const Window *const window); + void focusWindow(); + void slowLogic(); static bool isTmw(); |