mirror of
https://github.com/hyprwm/Hypr.git
synced 2025-02-17 00:22:06 +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) {
|
if (ID != -1) {
|
||||||
Debug::log(LOG, "Changing the current workspace to " + std::to_string(ID));
|
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);
|
g_pWindowManager->changeWorkspaceByID(ID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -865,7 +865,6 @@ void CWindowManager::changeWorkspaceByID(int ID) {
|
||||||
setAllWorkspaceWindowsDirtyByID(ID);
|
setAllWorkspaceWindowsDirtyByID(ID);
|
||||||
|
|
||||||
activeWorkspaces[workspace.getMonitor()] = workspace.getID();
|
activeWorkspaces[workspace.getMonitor()] = workspace.getID();
|
||||||
LastWindow = -1;
|
|
||||||
|
|
||||||
// set the focus to any window on that workspace
|
// set the focus to any window on that workspace
|
||||||
for (auto& window : windows) {
|
for (auto& window : windows) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue