1
0
Fork 0
forked from wry/wry

add directional focus navigation for floating windows

Map left/down to previous and right/up to next in the workspace
stacking order, with wrapping. Does not cross to the tiled layer.
This commit is contained in:
atagen 2026-03-07 19:03:12 +11:00 committed by kossLAN
parent d353779c10
commit 9bd7e14b08
No known key found for this signature in database
3 changed files with 40 additions and 1 deletions

View file

@ -549,7 +549,11 @@ impl Renderer<'_> {
let tpuh = theme.title_plus_underline_height();
let tuh = theme.title_underline_height();
let bw = theme.sizes.border_width.get();
let bc = theme.colors.border.get();
let bc = if floating.active.get() {
theme.colors.focused_title_background.get()
} else {
theme.colors.border.get()
};
let tc = if floating.active.get() {
theme.colors.focused_title_background.get()
} else if floating.attention_requested.get() {