mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 09:05:59 +01:00
6648274735
This commit address an issue where focusing a window on a hidden workspace inadvertently triggered a second `focusWindow` call due to simulated mouse movement. This behaviour led to the incorrect focus on the window under the cursor instead of target window of method `focusWindow()`, disrupting `focusurgentorlast` and `focuscurrentorlast` dispatchers. Introduced a flag to the `CMonitor::changeWorkspace()` method to prevent simulated mouse movements. This flag is set to false by default. Changed the `focusWindow()` method accordingly to set this flag to true when the target window is in a hidden workspace. |
||
---|---|---|
.. | ||
AnimatedVariable.cpp | ||
AnimatedVariable.hpp | ||
BezierCurve.cpp | ||
BezierCurve.hpp | ||
Color.cpp | ||
Color.hpp | ||
MiscFunctions.cpp | ||
MiscFunctions.hpp | ||
Monitor.cpp | ||
Monitor.hpp | ||
Region.cpp | ||
Region.hpp | ||
Splashes.hpp | ||
SubsurfaceTree.cpp | ||
SubsurfaceTree.hpp | ||
Timer.cpp | ||
Timer.hpp | ||
Vector2D.cpp | ||
Vector2D.hpp | ||
WLClasses.cpp | ||
WLClasses.hpp | ||
WLListener.cpp | ||
WLListener.hpp | ||
WLSurface.cpp | ||
WLSurface.hpp | ||
Workspace.cpp | ||
Workspace.hpp | ||
X11Stubs.hpp | ||
XWaylandStubs.hpp |