mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
overview: workaround for hyprland's windows start menu bug
## the bug - open layershell with keyboard focus - focus another window or go to another workspace - close the layer -> focus goes back to the window which was focused when you open the layer shell ## solution - close the layer, wait a bit then focus
This commit is contained in:
@@ -113,8 +113,8 @@ export default () => {
|
||||
margin-bottom: -${Math.round((y + h) * OVERVIEW_SCALE)}px;
|
||||
`,
|
||||
onClicked: (self) => {
|
||||
Hyprland.messageAsync(`dispatch focuswindow address:${address}`);
|
||||
App.closeWindow('overview');
|
||||
Utils.timeout(100, () => Hyprland.messageAsync(`dispatch focuswindow address:${address}`));
|
||||
},
|
||||
onMiddleClickRelease: () => Hyprland.messageAsync(`dispatch closewindow address:${address}`),
|
||||
onSecondaryClick: (button) => {
|
||||
|
||||
Reference in New Issue
Block a user