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.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/744
**Author:** [@raggi](https://github.com/raggi)
**Created:** 4/13/2024
**Status:** ✅ Merged
**Merged:** 4/14/2024
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `raggi/focus-no-thread`
---
### 📝 Commits (1)
- [`9b596f3`](https://github.com/LGUG2Z/komorebi/commit/9b596f31e81c76b4847f57253dda34e6ee7e5a86) komorebi: use a new method to focus windows
### 📊 Changes
**4 files changed** (+68 additions, -89 deletions)
<details>
<summary>View changed files</summary>
📝 `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)
</details>
### 📄 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.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.