1
0
Fork 0
forked from wry/wry

add toggle focus between floating and tiled layers

Adds focus_floats(), toggle_focus_float_tiled(), and their IPC
bindings so users can bind a key to swap focus between the floating
and tiled layers.
This commit is contained in:
atagen 2026-03-07 14:55:31 +11:00 committed by kossLAN
parent 23ad546a39
commit d353779c10
No known key found for this signature in database
8 changed files with 82 additions and 0 deletions

View file

@ -218,6 +218,10 @@ impl Action {
let persistent = state.persistent.clone();
b.new(move || persistent.seat.focus_tiles())
}
SimpleCommand::ToggleFocusFloatTiled => {
let persistent = state.persistent.clone();
b.new(move || persistent.seat.toggle_focus_float_tiled())
}
SimpleCommand::CreateMark => {
let persistent = state.persistent.clone();
b.new(move || persistent.seat.create_mark(None))