mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #744] [MERGED] komorebi: use a new method to focus windows #1082
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/744
Author: @raggi
Created: 4/13/2024
Status: ✅ Merged
Merged: 4/14/2024
Merged by: @LGUG2Z
Base:
master← Head:raggi/focus-no-thread📝 Commits (1)
9b596f3komorebi: use a new method to focus windows📊 Changes
4 files changed (+68 additions, -89 deletions)
View changed files
📝
komorebi/src/process_command.rs(+28 -1)📝
komorebi/src/window.rs(+7 -64)📝
komorebi/src/window_manager.rs(+1 -4)📝
komorebi/src/windows_api.rs(+32 -20)📄 Description
Use the same method as FancyZones to enable setting the foreground window. This makes it possible then to remove the thread attachment behaviors that have a number of other complex side effects, and aren't always allowed. In addition, cleanup old focus/raise methods some, in particular the border window is now explicitly not activated when it is raised, as it should never be activated.
I've also left some breadcrumbs in comments from investigation that I did while doing QA, that highlighted other issues.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.