Changing to empty workspace on another monitor doesn't unfocus current window #11537
Unanswered
Dregu
asked this question in
Bugs - Window management
Replies: 2 comments 1 reply
-
|
Possibly related issue: when a window is opened on unfocused monitor ( |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Also related problem - you can |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hyprland version
v0.50.1
Describe the bug
When changing to an empty workspace on another monitor, the current window on the previous monitor should be unfocused, even if there is no window to focus on the new monitor. This doesn't currently happen, instead the window focus stays.
It's only confusing that my keyboard input still goes to a different monitor on the other side of the table, when I've just asked to focus nothing. It's especially bad when that window is a remote desktop inhibiting shortcuts and it's eating my binds I'm trying to use on the empty workspace. (And these are binds I want to pass to the remote desktop, but only when it's focused.)
Also, since
focusmonitor [any_empty_non-current_one]seems to actually be one of the only ways to unfocus everything (i.e. only way to callg_pCompositor->focusWindow(nullptr)), I've had to make some very weird voodoo* script to accomplish this. Adding afocuswindow nulltype of dispatcher would also help escape focus from inhibiting windows, but there should also be an option to unfocus when changing to an empty workspace. Maybe even a follow_mouse option when moved to an empty monitor.(*There's also a discrepancy in the way
focusmonitoronly unfocuses the current window if it's dispatched from a different monitor, which just adds to the amount of voodoo required to simply unfocus a window...)Reproduction steps
Beta Was this translation helpful? Give feedback.
All reactions