Skip to content

pleamar 0.7.31

Latest

Choose a tag to compare

@k4ditano k4ditano released this 15 Nov 11:03
· 1 commit to main since this release

Keyboard on the second monitor (#156, reported by neerajlovecyber against 0.8.0-exp.16; the same happened in 0.7.30):

  • With a surface declared screens: each, key presses, on key, on focus and on blur rules and input fields now go to the copy on the monitor that has the keyboard: the copy the compositor gives it to, or the one last pressed. Before, the rules fired in every copy, and when the compositor handed the keyboard over without a click (niri does) the field of the first copy was the one that got it. Rules outside the copies hear the keys as before.
  • A named surface written before a screens: each main surface no longer takes every copy to its own monitor. When the compiler put the copies in, it left some settings (screens:, level:, keyboard:, reserve:, rate, anchor) pointing at the old places in the list.

Tested in a headless pleamar-wm with two monitors (tests/keys_each.rs in pleamar-wm). Not tried: niri itself, or a real PC with two monitors.

Update with pleamar-update (Arch) or nix flake update (NixOS).