You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$altMod = ALT
bind = $altMod, Tab, focuscurrentorlast
If I press Alttab and don't move the mouse afterwards and try to scroll, it scrolls the previous window and not the current window. I need to move cursor a little (with touchpad or mouse) to make it work as expected. Watch the video below to understand better.
I've looked at the code a bit and I can guess that it can be fixed here: https://github.com/hyprwm/Hyprland/blob/main/src/managers/input/InputManager.cpp#L1256C1-L1276C2
How to reproduce
2023-09-09.13-43-40.mp4
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered:
woojiq
changed the title
focuscurrentorlast: mouse uses previous window if not move cursorfocuscurrentorlast: mouse scrolls previous window if not move cursor
Sep 9, 2023
woojiq
changed the title
focuscurrentorlast: mouse scrolls previous window if not move cursorfocuscurrentorlast: scroll affects previous window
Sep 9, 2023
memchr
added a commit
to memchr/Hyprland
that referenced
this issue
Sep 9, 2023
moves `switchToWindow` lambdas to a single private method
`CKeybindManager::switchToWindow()`.
fixeshyprwm#3227, as a by-product of the mouse motion simulation at the end
of `CKeybindManager::switchToWindow()`.
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()`.
Hyprland Version
91e28bb
Bug or Regression?
Bug
Description
If I press Alttab and don't move the mouse afterwards and try to scroll, it scrolls the previous window and not the current window. I need to move cursor a little (with touchpad or mouse) to make it work as expected. Watch the video below to understand better.
I've looked at the code a bit and I can guess that it can be fixed here: https://github.com/hyprwm/Hyprland/blob/main/src/managers/input/InputManager.cpp#L1256C1-L1276C2
How to reproduce
2023-09-09.13-43-40.mp4
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: