Repository navigation
merge up to upstream commit 7f81a7f - #54
Merged
Merged
Conversation
- 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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Routine PR
Brings in 35 upstream commits, mainly ext-image-copy capture for individual windows, the GNOME Shell global shortcuts methods, the
change-vtIPC action, andtile_pos_in_workspace_viewnow being reported for the scrolling layout.Key fixes/resolutions:
change-vtandpower-off-monitors: upstream addedChangeVtright next toPowerOffMonitors, which this branch had already extended withskip_isolated. Kept both.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 calldo_action()again. Batched IPC actions use the current time, the same as single IPC actions upstream.move-window-to-workspaceby id: switched to upstream'sfind_window_by_id()lookup and kept this branch's rule that only a name or id can target a hidden workspace.Things that needed judgment:
tile_pos_in_workspace_viewusing 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.0.0, so animated per-window shaders now move in single-window casts as well.Ran
cargo check --all-targetsandcargo test --all, no warnings, all tests passing.