aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-03-10added move window to monitor by idAnnika Hannig
2025-03-10Implemented move-window-to-monitor and move-column-to-monitorAnnika Hannig
2025-03-10Implement focus-monitor to focus a specific monitor by output.Annika Hannig
2025-03-10feat: 🎉 add `show-pointer` for `Screenshot` and `ScreenshotScreen`Toby Bridle
2025-03-10Add Shell completions (#1226)Jon Heinritz
* feat(cli): add subcommand to generate shell completions * Update src/cli.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-10Keep track of RenderElementStates in offscreensIvan Molodetskikh
This both avoids sending frame callbacks to surfaces invisible on the offscreen (fixing Firefox with subsurface compositing in the process), and fixes searching for split popups during the resize animation.
2025-03-10Store offscreen element id on Mapped instead of user dataIvan Molodetskikh
We don't need user data for this.
2025-03-10Make interactively moved window semitransparentIvan Molodetskikh
2025-03-10Offscreen semitransparent tilesIvan Molodetskikh
Now that offscreen does damage tracking, we can reasonably do this. Note this only affects full-tile opacity, not window opacity.
2025-03-10layout/tile: Use animated tile size for open anim geoIvan Molodetskikh
This is the right value to use as the texture will also match the animated size.
2025-03-10tile: Use OffscreenBuffer for resize animsIvan Molodetskikh
OffscreenBuffer knows how to avoid recreating the texture every frame.
2025-03-10render_helpers/resize: Fix logic to allow for partially-filled textureIvan Molodetskikh
"texture geo" defines offset and src size, rather than the full texture size.
2025-03-10offscreen: Don't recreate if size decreasedIvan Molodetskikh
2025-03-10offscreen: Track and return damageIvan Molodetskikh
This is the second part of the damage equation: now the offscreen element itself reports correct damage, so partial redraws to the texture don't cause full redraws of the texture element itself.
2025-03-10offscreen: Take damage into account when renderingIvan Molodetskikh
Does not yet signal the damage outside, but does skip rerendering if there was no damage.
2025-03-10Cache texture in OpenAnimationIvan Molodetskikh
Don't recreate it unless the size changes. This lays the groundwork for also tracking damage in the future.
2025-03-10Update Smithay (Framebuffer type)Ivan Molodetskikh
2025-03-09doc: fix wrongly formatted link that `rustdoc` kept complaining aboutJon Heinritz
2025-03-02mapped: Omit popups from animation snapshotIvan Molodetskikh
It's used only for resizes, and those render popups on top.
2025-03-02Allow disabling tap-and-drag (#1107)Alex David
* Allow disabling tap-and-drag Similar to https://github.com/YaLTeR/niri/pull/1088, this adds a new touchpad `drag` configuration option that configures tap-and-drag behavior. Currently tap-and-drag is always enabled when the `tap` setting is enabled, but other compositors allow setting this separately. * Update wiki/Configuration:-Input.md --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-01Added top, left, bottom and right floating windows alignement (#1169)Martino Ferrari
* feat: added top, left, bottom, right alignement options * feat: implemented extra alignement * feat: added example * doc: updated documentation with extra alignements * doc: moved example in wiki and typo correction * fix: relative position should be positive and not negative * fixes --------- Co-authored-by: Martino Ferrari <martinogiordano.ferrari@iter.org> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-02-27Extract encompassing_geo()Ivan Molodetskikh
2025-02-27render_helpers: Use upscale(-1)Ivan Molodetskikh
2025-02-27layout/monitor: Remove unused functionIvan Molodetskikh
2025-02-27layout/monitor: Remove redundant passthrough functionsIvan Molodetskikh
2025-02-26Add honor-xdg-activation-with-invalid-serial debug flagIvan Molodetskikh
2025-02-26Implement `niri msg pick-window`bbb651 🇮🇱
* feat: `niri msg pick-window` * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-02-26cursor: Extract get_render_cursor_named()Ivan Molodetskikh
2025-02-26feat(input): add off option to touch devicennyyxxxx
2025-02-24Also check pointer for activation token validityIvan Molodetskikh
This actually doesn't matter in most cases currently, because it more or less checks for *anything* to have a keyboard focus, so if you have some focused window while clicking on a mako notification, that already qualifies. Signed-off-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-02-18Don't snap after DnD scroll if view position didn't changeIvan Molodetskikh
Otherwise, any DnD breaks temporarily centered columns.
2025-02-18Don't activate window when pressing the Mod+MMB view gestureIvan Molodetskikh
Avoid unnecessary movement.
2025-02-17Take tab indicators into account in expand-column-to-available-widthIvan Molodetskikh
2025-02-17Use toggle_full_width() for expand-column-to-available-width edge caseIvan Molodetskikh
2025-02-17Fix expand-column-to-available-width for always-centerIvan Molodetskikh
2025-02-17Implement expand-column-to-available-widthIvan Molodetskikh
2025-02-17Make idle notify lazyIvan Molodetskikh
2025-02-17Make pointer inactivity timer reset lazyIvan Molodetskikh
2025-02-16Enable fancy miette errors for the main binaryIvan Molodetskikh
Seems there's not much dependency/binary size impact now, compared to when I first made the KDL config.
2025-02-16Add blank lineIvan Molodetskikh
2025-02-16Make DnD edge view scroll configurableIvan Molodetskikh
2025-02-16Add a small delay to DnD view scrollingIvan Molodetskikh
2025-02-16layout: Remove unused methodIvan Molodetskikh
2025-02-15Implement scrolling the view during DnDIvan Molodetskikh
DnD is external to the layout, so we just inform it when one is ongoing.
2025-02-15Implement scrolling the view during interactive moveIvan Molodetskikh
2025-02-15Hook up are_transitions_ongoing() for floating and tilesIvan Molodetskikh
Don't spoil it
2025-02-15layout: Check move output in are_animations_ongoing()Ivan Molodetskikh
2025-02-14Implement ext-data-controlIvan Molodetskikh
2025-02-14Update Smithay (idle-notify 2)Ivan Molodetskikh
2025-02-14feat: support for setting tablet calibration matrix; this allows for ↵Ivan Chinenov
rotating tablet inputs (#1122) * feat: support for setting tablet calibration matrix * Change default matrix