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
shortcuts now position mouse in between monitors, though keyboard focus still correctly shifts to selected screen Actual result:
awful.screen.focus positions mouse between screens
Expected result:
awful.screen.focus continues to position mouse in last known position, even after adding/removing screens with xrandr
Suggested solution:
Reset last known mouse position on screens when added/removed. For example screen.mouse_per_screen = false, but this property is encapsulated and not accessible to users. Alternatively, provide a parameter that allows users to choose whether to restore mouse position on screen focus (screen.lua line 105: if not _screen.mouse_per_screen and not restore_mouse_position then)
The text was updated successfully, but these errors were encountered:
After more digging, it looks like the cause is the mouse moving to screen edge automatically when monitors are added/removed, and this position being remembered and restored by awful.screen.focus. This can be solved by giving users the option to not return the mouse to its former position, which currently is mandatory.
I created a pull request with this functionality: #3517
Output of
awesome --version
:Output of
xrandr -v
:How to reproduce the issue:
Actual result:
awful.screen.focus positions mouse between screens
Expected result:
awful.screen.focus continues to position mouse in last known position, even after adding/removing screens with xrandr
Suggested solution:
Reset last known mouse position on screens when added/removed. For example
screen.mouse_per_screen = false
, but this property is encapsulated and not accessible to users. Alternatively, provide a parameter that allows users to choose whether to restore mouse position on screen focus (screen.lua line 105:if not _screen.mouse_per_screen and not restore_mouse_position then
)The text was updated successfully, but these errors were encountered: