mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #754] [MERGED] fix(wm): reduce errors from non-window events #1085
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/754
Author: @raggi
Created: 4/14/2024
Status: ✅ Merged
Merged: 4/14/2024
Merged by: @raggi
Base:
master← Head:raggi/reduce-errors📝 Commits (1)
1e37d6dfix(wm): reduce errors from non-window events📊 Changes
3 files changed (+8 additions, -18 deletions)
View changed files
📝
komorebi/src/process_event.rs(+1 -8)📝
komorebi/src/stackbar.rs(+3 -9)📝
komorebi/src/window.rs(+4 -1)📄 Description
As we have been working down some bugs from earlier changes, we introduced some additional error conditions in the logs. Now that the new focus approach is available, switching the stackbar to that means we can avoid needing to pass down ForceUpdate and FocusChange events for non-windows, which removes many of these cases.
In addition we do a check in should_manage that the target object is actually a window, ignoring the event if it is not.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.