Commit Graph

1410 Commits

Author SHA1 Message Date
f17b9d7e71 Merge branch 'main' of https://codeberg.org/river/river-classic 2026-04-01 14:18:31 -07:00
Isaac Freund
a608f8c65f build: bump version to 0.3.16-dev 2026-03-31 10:28:14 +02:00
Isaac Freund
6aa6993936 build: bump version to 0.3.15 2026-03-31 10:27:58 +02:00
Isaac Freund
ae00b8c8c7 build: bump zig-wlroots version to tagged release 2026-03-31 10:27:43 +02:00
Isaac Freund
ed1055497c Server: listen for foreign toplevel capture request 2026-03-30 10:17:51 +02:00
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
Isaac Freund
ceb50e8c88 Server: implement color management protocols
Thank you wlroots!
2026-03-29 19:42:53 +02:00
Isaac Freund
20957917ca cursor-shape: implement version 2 2026-03-29 18:26:43 +02:00
Isaac Freund
94463c4de2 Server: implement wl_fixes 2026-03-29 18:26:21 +02:00
Isaac Freund
f1230e8ec9 InputRelay: adapt to wlroots breaking change
This wlroots breaking change wasn't mentioned in the changelog :/

Fixes a crash when doing pretty much anything with an input method.
2026-03-28 11:03:42 +01:00
Isaac Freund
47b64bda73 build: update to wlroots 0.20 2026-03-27 18:50:21 +01:00
wakwkc
bbdc47778d Root: use attach mode top when restoring from fallback 2026-03-08 11:23:54 +01:00
nate zhou
f0908e2d11 doc: fix broken links in readme 2026-01-22 10:16:39 +01:00
0a148369aa Merge branch 'main' of https://codeberg.org/river/river-classic 2026-01-08 17:06:11 -08:00
Isaac Freund
5885fb79db river: support wl_shm version 2
This was a typo
2026-01-08 19:14:22 +00:00
Isaac Freund
21142a8f7c build: bump version to 0.3.15-dev 2026-01-07 04:39:16 +00:00
Isaac Freund
1787792560 build: bump version to 0.3.14 2026-01-07 04:37:34 +00:00
Isaac Freund
a46c0df7ed Server: fix wlroots assertion failure on GPU reset 2026-01-06 21:00:44 +00:00
96b54bde86 Merge branch 'main' of git.zander.im:Zander671/river 2025-12-30 16:08:45 -08:00
f6fd7655e2 Merge branch 'main' of https://codeberg.org/river/river-classic 2025-12-30 16:07:48 -08:00
Isaac Freund
df131f9a9d LayerSurface: don't configure in response to unmap
We should wait until the next "initial commit" before
sending a configure after a layer surface unmaps itself.
2025-12-20 18:40:30 +00:00
Isaac Freund
d38d4105c4 docs: update wiki link 2025-12-18 23:37:34 +00:00
242b62a9d4 Merge new river-classic 2025-12-14 08:12:14 -08:00
Isaac Freund
be722b2a3f docs: fix typo in README 2025-12-10 20:24:22 +01:00
82613a56db Fix focused view sometimes being reported as having no tags 2025-10-09 16:05:23 -07:00
936d1157b4 Fix last commit 2025-10-09 15:51:32 -07:00
7ce21a44d8 Fix current view tags being wrong 2025-10-09 15:36:11 -07:00
Isaac Freund
9c42ed788a build: bump version to 0.3.14-dev 2025-10-03 11:36:58 +02:00
Isaac Freund
3ef7b69112 build: bump version to 0.3.13 2025-10-03 11:35:50 +02:00
Isaac Freund
165871e0fc command: fix possible crash on focus
If the currently focused view has been moved to a different output but
the transaction has not yet been completed, we can hit unreachable code
in this function.

thread 1073 panic: reached unreachable code
/home/pkaplan/Software/river/river/command/view_operations.zig:100:21: 0x11752d6 in getTarget (river)
                    unreachable;
                    ^
/home/pkaplan/Software/river/river/command/view_operations.zig:46:22: 0x1146f36 in focusView (river)
    if (try getTarget(
                     ^
/home/pkaplan/Software/river/river/command.zig:144:16: 0x11124e3 in run (river)
    try impl_fn(seat, args, out);
               ^
/home/pkaplan/Software/river/river/Seat.zig:447:16: 0x10eb00f in runCommand (river)
    command.run(seat, args, &out) catch |err| {
               ^
/home/pkaplan/Software/river/river/Seat.zig:423:24: 0x1110350 in handleMapping (river)
        seat.runCommand(mapping.command_args);
                       ^
/home/pkaplan/Software/river/river/Keyboard.zig:213:47: 0x10e83b8 in wrapper (river)
        if (keyboard.device.seat.handleMapping(keycode, modifiers, released, xkb_state)) {
                                              ^
???:?:?: 0x7d8f73aa051d in ??? (libwayland-server.so.0)
Unwind information for `libwayland-server.so.0:0x7d8f73aa051d` was not available, trace may be incomplete

???:?:?: 0x7d8f739fecc7 in ??? (libwlroots-0.18.so)
???:?:?: 0x7d8f739d0dbb in ??? (libwlroots-0.18.so)
???:?:?: 0x7d8f73aa2111 in ??? (libwayland-server.so.0)
???:?:?: 0x7d8f73aa41f6 in ??? (libwayland-server.so.0)
/home/pkaplan/Software/river/river/main.zig:139:25: 0x10715dd in main (river)
    server.wl_server.run();
                        ^
/usr/lib/zig/std/start.zig:524:37: 0x107083e in main (river)
            const result = root.main() catch |err| {
                                    ^
???:?:?: 0x7d8f736b06b4 in ??? (libc.so.6)
???:?:?: 0x7d8f736b0768 in ??? (libc.so.6)
???:?:?: 0x1070354 in ??? (???)
2025-10-03 11:28:19 +02:00
Isaac Freund
633f4e2733 river: remove dead code 2025-10-03 11:28:01 +02:00
Isaac Freund
170cac310d linux-dmabuf: disable fine-grained feedback again
Despite the better debouncing in wlroots 0.19, this is still causing
problems. In particular, certain clients (mostly Xwayland games it
seems) have a bad interaction with this additional feedback, possibly
related to the cursor buffer.

The reported symptoms are significant framerate drops and stuttering on
pointer input.

Probably there's a wlroots bug here at fault but I don't have the
resources to fix it myself currently and would rather not force river
users to suffer.

Setting WLR_SCENE_DISABLE_DIRECT_SCANOUT=1 isn't sufficient to solve
these problems either, as wlr_scene still sends enough extra feedback
to trigger the problems.

Closes: https://codeberg.org/river/river/issues/1277
2025-09-02 10:52:57 +02:00
Isaac Freund
c18ed4aae1 river: fix logging to non-pipe
Since the Zig 0.15 upgrade, if stderr is redirected to a file, river
writes every log message to the beginning of the file, overwriting the
previous message. This commit fixes that and also switches to the nicer
new std.debug API for stderr logging.
2025-09-02 09:46:46 +02:00
Isaac Freund
f0c7f57d36 LayerSurface: fix crash on bad exclusive zone
River closes layer surfaces with an unreasonably large exclusive zone.
However, due to unfortunate/awkward code structure, this currently
may cause a use-after-free on mapping layer surface.
2025-09-01 09:55:49 +02:00
52b312d08d Merge branch '0.3.x' of https://codeberg.org/river/river 2025-08-31 15:54:01 -07:00
Isaac Freund
d412c9cdd1 doc: tweak README formatting 2025-08-30 19:23:45 +02:00
Isaac Freund
e5c7d75dcc build: bump version to 0.3.13-dev 2025-08-30 19:01:32 +02:00
Isaac Freund
8e4f3f6800 build: bump version to 0.3.12 2025-08-30 19:01:32 +02:00
Isaac Freund
50d5108d1f ci: rename to river-classic 2025-08-30 19:01:32 +02:00
Isaac Freund
1168a3f47a doc: rename to river-classic 2025-08-30 18:56:31 +02:00
Isaac Freund
265461162f build: rename to river-classic 2025-08-30 18:56:31 +02:00
Isaac Freund
b3b79944cc build: bump version to 0.3.12 2025-08-30 18:13:56 +02:00
Isaac Freund
7bc761306e Cursor: clear pointer focus on hide
This line seems to have been removed by accident while fixing a
different unrelated bug.

Fixes: f482b9ddaa
2025-08-30 18:08:24 +02:00
Isaac Freund
88a8c45ac0 river: run 0.15 zig fmt 2025-08-22 15:11:50 +02:00
Isaac Freund
d72408df18 build: update to Zig 0.15 2025-08-22 15:09:07 +02:00
e97a63f0fa Merge branch '0.3.x' of https://codeberg.org/river/river 2025-08-17 17:23:31 -07:00
Isaac Freund
63542fdf3e build: bump zig-wlroots version
This version includes a fix for a regression introduced with the wlroots
0.19 upgrade.
2025-07-10 14:55:38 +02:00
Isaac Freund
b8ec02796f build: bump version to 0.3.12-dev 2025-07-01 09:40:25 +02:00