mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1361] [MERGED] fix: forced float-override on Floating layer without overwriting user config
#1352
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/1361
Author: @alex-ds13
Created: 3/17/2025
Status: ✅ Merged
Merged: 3/18/2025
Merged by: @LGUG2Z
Base:
master← Head:fix/float-override📝 Commits (2)
0736a41Revert "feat(wm): toggle float override with floating layer"2e04d25feat(wm): toggle float override with floating layer📊 Changes
2 files changed (+7 additions, -15 deletions)
View changed files
📝
komorebi/src/window_manager.rs(+6 -1)📝
komorebi/src/workspace.rs(+1 -14)📄 Description
As mentioned on Discord this PR reverts the previous commit that turned on the
float_overridewhen switching to theFloatinglayer and turned it off when switching to theTilinglayer since this would result in an overwrite of the user config.This PR uses a different method to accomplish the same behaviour without overwriting the user's config. It changes the
window_management_behaviour()function to check the behaviour for the workspace in question and then it checks if the workspace has thefloat_overrideset or if the workspace layer isFloating.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.