mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1337] [MERGED] fix(wm): update layer on cross monitor moves #1336
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/1337
Author: @alex-ds13
Created: 3/11/2025
Status: ✅ Merged
Merged: 3/11/2025
Merged by: @LGUG2Z
Base:
master← Head:fix/change-layer-on-cross-monitor-moves📝 Commits (1)
bfdb9b8fix(wm): update layer on cross monitor moves📊 Changes
2 files changed (+7 additions, -0 deletions)
View changed files
📝
komorebi/src/monitor.rs(+4 -0)📝
komorebi/src/window_manager.rs(+3 -0)📄 Description
There was an issue where if you tried to move a floating window to another monitor using a command like
komorebic cycle-move-to-monitor 1it would move the window correctly, but the target workspace layer wouldn't change, which probably meant it would still be asTilingso if you tried to move the floating window with the new floating window moves it would behave as if it was a tile move and actually moved the window across monitor again if that was the direction you moved, any other direction would just be ignored.This PR fixes that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.