mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 22:12:53 +01:00
This commit ensures that when a window is dragged across a monitor boundary, the ownership of the window container will be transferred to the target monitor's currently focused workspace. In order to achieve this, a new WindowManagerEvent variant has been added, MoveResizeStart, which will store an optional pending_move_op on the WindowManager struct. This must be consumed at the beginning of the handler for MoveResizeEnd. This is necessary because as soon as the window is dragged across a monitor boundary, an event is sent (and handled) to update the currently focused monitor and workspace as the target monitor and workspace, and we still need to have the information about the original monitor, workspace and container in order to make comparisons and ultimately remove the origin container to be able to transfer it. fix #58
43 lines
836 B
Makefile
43 lines
836 B
Makefile
set shell := ["cmd.exe", "/C"]
|
|
export RUST_BACKTRACE := "full"
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
fmt:
|
|
cargo +nightly fmt
|
|
cargo +nightly clippy
|
|
prettier --write README.md
|
|
|
|
install-komorebic:
|
|
cargo +stable install --path komorebic --locked
|
|
|
|
install-komorebi:
|
|
cargo +stable install --path komorebi --locked
|
|
|
|
install:
|
|
just install-komorebic
|
|
just install-komorebi
|
|
komorebic ahk-library
|
|
cat '%USERPROFILE%\komorebic.lib.ahk' > komorebic.lib.sample.ahk
|
|
|
|
run:
|
|
just install-komorebic
|
|
cargo +stable run --bin komorebi --locked
|
|
|
|
warn $RUST_LOG="warn":
|
|
just run
|
|
|
|
info $RUST_LOG="info":
|
|
just run
|
|
|
|
debug $RUST_LOG="debug":
|
|
just run
|
|
|
|
trace $RUST_LOG="trace":
|
|
just run
|
|
|
|
deadlock $RUST_LOG="trace":
|
|
just install-komorebic
|
|
cargo +stable run --bin komorebi --locked --features deadlock_detection
|