refactor: replace lambdas with CKeybindManager::switchToWindow (#3229)
moves `switchToWindow` lambdas to a single private method `CKeybindManager::switchToWindow()`. fixes #3227, as a by-product of the mouse motion simulation at the end of `CKeybindManager::switchToWindow()`.
This commit is contained in:
parent
f4e99a36a9
commit
f7f70c9e72
2 changed files with 36 additions and 94 deletions
|
|
@ -91,6 +91,7 @@ class CKeybindManager {
|
|||
bool ensureMouseBindState();
|
||||
|
||||
static bool tryMoveFocusToMonitor(CMonitor* monitor);
|
||||
static void switchToWindow(CWindow* PWINDOWTOCHANGETO);
|
||||
|
||||
// -------------- Dispatchers -------------- //
|
||||
static void killActive(std::string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue