mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-25 22:35:58 +01:00
fixed multiple highlighted windows when multimon switching workspaces
This commit is contained in:
parent
2645bbdc05
commit
c8553387bb
2 changed files with 0 additions and 3 deletions
|
@ -117,8 +117,6 @@ void KeybindManager::changeworkspace(std::string arg) {
|
|||
if (ID != -1) {
|
||||
Debug::log(LOG, "Changing the current workspace to " + std::to_string(ID));
|
||||
|
||||
const auto PLASTWINDOW = g_pWindowManager->getWindowFromDrawable(g_pWindowManager->LastWindow);
|
||||
|
||||
g_pWindowManager->changeWorkspaceByID(ID);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -865,7 +865,6 @@ void CWindowManager::changeWorkspaceByID(int ID) {
|
|||
setAllWorkspaceWindowsDirtyByID(ID);
|
||||
|
||||
activeWorkspaces[workspace.getMonitor()] = workspace.getID();
|
||||
LastWindow = -1;
|
||||
|
||||
// set the focus to any window on that workspace
|
||||
for (auto& window : windows) {
|
||||
|
|
Loading…
Reference in a new issue