Skip to content

merge up to upstream commit 7f81a7f - #54

Merged
AmmoniumX merged 36 commits into
barrulus:mainfrom
AmmoniumX:barrulus/main
Nov 11, 2026
Merged

AmmoniumX merged 36 commits into
barrulus:mainfrom
AmmoniumX:barrulus/main

Conversation

@AmmoniumX

Copy link
Copy Markdown
Collaborator

Routine PR

Brings in 35 upstream commits, mainly ext-image-copy capture for individual windows, the GNOME Shell global shortcuts methods, the change-vt IPC action, and tile_pos_in_workspace_view now being reported for the scrolling layout.

Key fixes/resolutions:

  • change-vt and power-off-monitors: upstream added ChangeVt right next to PowerOffMonitors, which this branch had already extended with skip_isolated. Kept both.
  • Input time: upstream now passes the input time through handle_bind() / do_action() (the global shortcuts need it). Passed it through this branch's multi-action binds too, along with the hidden-workspace actions that call do_action() again. Batched IPC actions use the current time, the same as single IPC actions upstream.
  • move-window-to-workspace by id: switched to upstream's find_window_by_id() lookup and kept this branch's rule that only a name or id can target a hidden workspace.
  • Action list: kept this branch's workspace visibility actions next to upstream's global shortcut activate/deactivate actions.

Things that needed judgment:

  • Scrolling tile positions over IPC: upstream reports tile_pos_in_workspace_view using the settled scroll position and leaves it empty for tiles outside the view, so scrolling past 100 columns doesn't send 100 layout updates. This branch computes those positions along a configurable main axis, so I kept that and added both upstream changes on top. The visibility check runs before the axis flip, so vertical layouts should cull correctly too.
  • Global shortcuts: upstream's new GNOME Shell shortcut code builds binds with a single press/release action. Changed it to build this branch's action lists instead.
  • Window shader time in single-window casts: upstream moved where the render context is built for single-window screencasts and screenshots, so the per-window shader time is now set there. It uses the real compositor time, not 0.0, so animated per-window shaders now move in single-window casts as well.

Ran cargo check --all-targets and cargo test --all, no warnings, all tests passing.

Kruemmelspalter and others added 30 commits October 31, 2026 12:43
- Don't send wl_output.done to v1 clients.
- Preserve layer-surface layer on unmap.
- Fix cases of unnecessary damage.
- Process queued libinput device added/removed events before polling.
- Update winit.
- Fix y_invert in render_texture_from_to().
- Fix build on OpenBSD.
- Send tablet frame after proximity_out between surfaces of the same
  client.

virtual-keyboard: Use `KeymapFile`

Compares keymap by hash instead of whole text. And avoids allocating a
new `KeymapFile` on switch.

Co-authored-by: Ian Douglas Scott <idscott@system76.com>
Just use the buffer format, like dmabufs.
If we want to check the format, we likely need to do it elsewhere, add
support for multiple formats (unused now but may very well be used), and
also check the dmabuf formats for consistency.
The code should simplify even further once I finally get around to the
W::Id == MappedId refactor...
For consistency with ext-image-copy outputs (and wlr-screencopy).

Perhaps at a future point we should tell apart singular captures vs.
ongoing and divide into Screencast and ScreenCapture accordingly.
Co-authored-by: Szybet <53944559+Szybet@users.noreply.github.com>
Avoid spam during left-right scrolling gestures.
Adds the following actions:
- `set-window-fullscreen` and `unset-window-fullscreen`;
- `set-window-maximized-to-edges` and `unset-window-maximized-to-edges`;
- `set-windowed-fullscreen` and `unset-windowed-fullscreen`.

All of them also support an optional `--id` when called from the IPC.
…obalShortcuts protocol.

Co-authored-by: RottenFishbone <RottenFishbone@users.noreply.github.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Prevent the chance of being unable to type the password.
…m#4774)

One-shot screenshot tools like grim create a session and request a single
frame, so they shouldn't show up in niri msg casts or turn on the
is-window-cast-target window rule. Similar to how wlr-screencopy is only
reported as a cast with damage requests.

The counter is per session, so an output session and its cursor session
are gated independently.
It's needed for image copy capture output source.
YaLTeR and others added 6 commits November 8, 2026 15:37
It was computed against the wrong position.
- Use render_pointer() instead of hand-rolled code (adds DnD icon)
- Only update buffer constraints and hotspot when rendering to avoid
  rerendering the cursor every loop callback

Co-authored-by: HigherOrderLogic <73709188+HigherOrderLogic@users.noreply.github.com>
Otherwise clients picking the first format picked the non-transparent
one.
@github-project-automation github-project-automation Bot moved this to Todo in Biri Nov 11, 2026
@AmmoniumX
AmmoniumX merged commit 9701e64 into barrulus:main Nov 11, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Biri Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.