22 Commits
Author SHA1 Message Date
akawama 4d11cd97e0 docs: clarify input device name description
The word "numerical" suggests both decimal and hexadecimal, so changed
it to decimal.

(cherry picked from commit f5d37f9b4d)
2024-12-09 14:49:50 +01:00
ymcx 9b0e90cdb4 command/swap: fix cursor warp on focus change
(cherry picked from commit bed50f0dd2)
2024-05-18 13:41:28 +02:00
ymcx bed50f0dd2 command/swap: fix cursor warp on focus change 2024-05-14 23:37:10 +02:00
Yutaro Ohno ff8365d350 README: update required wlroots version to 0.17.2 2024-03-16 13:28:29 +09:00
Orfeas 6a71fc65b0 attach-mode: implement after <N> 2024-01-13 12:29:09 -06:00
polykernel 2b463c9e4d river: add fullscreen rule
This commit adds a fullscreen rule for configuring
whether the view should be drawn fullscreen on start up.

The actions "fullscreen" and "no-fullscreen" map to the two
possible state of a view and semantically operate on the same
rule list. The behavior of adding, deleting and listing rules
follows that of float and ssd.
2023-11-08 00:46:56 -05:00
polykernel a0ea456ab2 river: add position and dimensions rules
This commit adds position and dimensions rules for configuring
the initial position and dimensions of views.

When a view is not matched by any position rules, it is centered
in the avaliable output space matching the current behavior. If
the provided position rule places the view outside of the output,
the view's position is clamped to the output bounds (with respect
to borders).

When a view is not matched by any dimensions rules, no default
dimensions is set by the server. If the provided dimensions rule
exceeds the minimum or maximum width/height constraints of the view,
the view's width/height is clamped to the constraints.

Position and dimensions rules have no effect if a view is started
fullscreen or is not floating. A view must be matched by a float
rule in order for them to take effect.
2023-11-08 00:46:55 -05:00
Doclic bf4154007d river: add outputs rule 2023-10-19 12:58:11 +02:00
Doclic 206bb2e713 river: make RuleList return deleted items 2023-10-19 01:21:52 +02:00
Väinö Mäkelä 792d94253c XdgToplevel: keep wlroots updated on view sizes
When sending a configure, wlroots will send the same size that was sent
on the previous configure unless a new size is set. If a client resizes
their window itself, the size wlroots has in
XdgToplevel.scheduled will be obsolete and needs to be updated by river.
2023-05-11 23:02:34 +02:00
taupiqueur 5dc591fe2d docs: fix typo in readme 2022-11-17 14:58:08 +01:00
Jan Evers 0dd5ad032c example/init: fix typos 2022-05-24 23:23:45 +02:00
dfangx d5c915e3cb idle-inhibit: implement protocol 2022-05-11 14:14:01 +02:00
Duncan Overbruck 0b8758a422 Cursor: Add a hide-cursor command
From the riverctl.1 man page:

*hide-cursor* *timeout* _timeout_
    Hide the cursor if it wasn't moved in the last _timeout_
    milliseconds until it is moved again.
    The default value is 0, which disables automatically hiding the
    cursor. Show the cursor again on any movement.

*hide-cursor* *when-typing* *enabled*|*disabled*
    Hide the cursor when pressing any non-modifier key. Show the cursor
    again on any movement.
2022-04-14 13:37:31 +02:00
Leonardo Gibrowski Faé c4c0bece59 docs: fix typo in river(1) man page 2022-03-05 12:24:38 +01:00
pmkap ca47b8a54e command: allow targeting outputs by name
This extends focus-output and send-to-output to allow targeting
outputs by name instead of relative position.
2022-02-06 15:41:40 +01:00
Wannes De Meyer 663e839e9d docs: fix wlroots link in readme 2021-11-08 21:18:32 +01:00
Euro20179andEuro 102a0b7cf5 docs: change Enter to Return
xkbcommon uses `Return` to indicate this key, `Enter` isn't a valid keysym name.
Co-authored-by: Euro <no>
2021-10-04 11:10:20 +02:00
Keith Hubbard 2bdf9e20a5 command: support repeating keyboard mappings
Repeating mappings are created using the -repeat option to the map
command:

    % riverctl map normal $mod+Mod1 K -repeat move up 10

- repeating is only supported for key press (not -release) mappings
- unlike -release, -repeat does not create distinct mappings: mapping a
  key with -repeat will replace an existing bare mapping and vice-versa

Resolves #306
2021-08-15 14:49:11 +02:00
Bonicgamer cbd4a2807b control: implement set-repeat 2020-11-18 15:28:33 +01:00
Marten Ringwelski 3f1b0dfaa9 control: implement swap 2020-10-25 12:41:19 +01:00
Bonicgamer 79dc9cc49a xwayland: make behavior more like xdg toplevels
- float fixed size xwayland windows by default
- align configure handling with that of xdg toplevel views
2020-10-22 19:22:54 +02:00