Commit Graph
11 Commits
Author SHA1 Message Date
Peter Kaplan 7144e44e93 river: toplevel capture for XdgPopups 2026-03-30 10:02:35 +02:00
Peter Kaplan 0d2b123547 river: ext-foreign-toplevel-image-capture-source 2026-03-30 10:02:35 +02:00
Peter Kaplan fa1a1b01bd river: add new screen capture protocols
* ext-image-copy-capture-v1
* ext-image-capture-source-v1 (without toplevel capture)
2026-03-30 01:07:08 +02:00
Peter KaplanandIsaac Freund 1db51285c0 ext-foreign-toplevel-list-v1: implement protocol 2025-07-01 09:26:26 +02:00
Peter KaplanandIsaac Freund 26210b2be5 View: Add attachRelative function
This is used for the above/below attach-modes introduced in d71bebc.

Also remove redundant focusedIndex function in Output.PendingState.
2024-03-08 11:56:34 +01:00
Peter KaplanandIsaac Freund 726ee2e7ca completions/zsh: Update attach-modes 2024-03-05 17:53:16 +01:00
Peter KaplanandIsaac Freund d71bebc032 command/attach-modes: above and below options 2024-03-05 17:53:16 +01:00
Peter KaplanandIsaac Freund 47c02ebcbc Mapping: Do not translate keys with xkb
When checking keys for matching mappings, previously we did two checks:

1. Keysyms translated by xkb.
2. Raw keysyms

This commit removes the first check, so only the second is checked.

We're doing this because of strange behavior that xkb shows for some
layouts and keys. When pressing `Shift Space` on some layouts (Swedish
among others), xkb reports `Shift` as consumed. This leads to the case
that we cannot distinguish between `Space` and `Shift Space` presses
when doing a correct translation with xkb.
2022-05-15 23:08:34 +02:00
Peter KaplanandIsaac Freund 44aaee3a51 command/map: layout-pinned mappings
e.g. `riverctl map -layout 0 normal Super Y spawn foot`

When this mapping is checked against a pressed key, layout 0 will be used to translate the pressed key instead of the currently active layout.

The number denotes to an index of the layouts set with
`XKB_DEFAULT_LAYOUT`.
2022-04-27 18:31:08 +02:00
Peter KaplanandIsaac Freund a8491eb13e command/hide-cursor: fix crash on missing option 2022-04-14 20:39:35 +02:00
Peter KaplanandIsaac Freund 60fdefc3fd input: add map-switch/unmap-switch commands
This allows running a command on a laptop's lid being opened/closed
or a tablet's button/switch being pressed/toggled.
2022-04-14 12:49:47 +02:00