Ivan Molodetskikh
ee0e2c7f1b
Try default when configured xkb keymap fails to compile
...
Fixes panic at startup.
2025-03-13 21:39:07 +03:00
Ivan Molodetskikh
4f16be9e4d
Wait for lock surfaces before locking
...
Fixes the red flash when locking.
2025-03-13 19:09:32 +03:00
Ivan Molodetskikh
0f30306fe5
Extract utils::is_mapped()
2025-03-13 18:56:35 +03:00
Ivan Molodetskikh
1c6037e612
Add tiled-state window rule, update the tiled state live
2025-03-13 14:14:54 +03:00
dbeley
fed86fdb5d
feat(trackpoint): document left-handed option
2025-03-13 03:36:20 -07:00
dbeley
3e21585861
feat(trackpoint): add left-handed option support
2025-03-13 03:36:20 -07:00
dependabot[bot]
9f9c4a99af
build(deps): bump libc in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [libc](https://github.com/rust-lang/libc ).
Updates `libc` from 0.2.170 to 0.2.171
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.171/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-12 06:34:54 -07:00
dependabot[bot]
b220cdbe7e
build(deps): bump the smithay group with 2 updates ( #1243 )
...
Bumps the smithay group with 2 updates: [smithay](https://github.com/Smithay/smithay ) and [smithay-drm-extras](https://github.com/Smithay/smithay ).
Updates `smithay` from `3219a0f` to `a503d98`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/3219a0f02a30de359f460ab165682a51cb13b7a5...a503d981d1be9a54b286ab5e160e4b9edddb500f )
Updates `smithay-drm-extras` from `3219a0f` to `a503d98`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/3219a0f02a30de359f460ab165682a51cb13b7a5...a503d981d1be9a54b286ab5e160e4b9edddb500f )
---
updated-dependencies:
- dependency-name: smithay
dependency-type: direct:production
dependency-group: smithay
- dependency-name: smithay-drm-extras
dependency-type: direct:production
dependency-group: smithay
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 12:08:11 +03:00
dependabot[bot]
df219b5134
build(deps): bump the rust-dependencies group with 2 updates ( #1242 )
...
Bumps the rust-dependencies group with 2 updates: [clap](https://github.com/clap-rs/clap ) and [clap_complete](https://github.com/clap-rs/clap ).
Updates `clap` from 4.5.31 to 4.5.32
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.5.31...clap_complete-v4.5.32 )
Updates `clap_complete` from 4.5.45 to 4.5.46
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.45...clap_complete-v4.5.46 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 12:07:29 +03:00
dependabot[bot]
8cdabe8adf
build(deps): bump serde in the rust-dependencies group ( #1239 )
...
Bumps the rust-dependencies group with 1 update: [serde](https://github.com/serde-rs/serde ).
Updates `serde` from 1.0.218 to 1.0.219
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 09:22:26 +03:00
Annika Hannig
8737067af5
added move window to monitor by id
2025-03-10 23:17:36 -07:00
Annika Hannig
50a99f6356
Implemented move-window-to-monitor and move-column-to-monitor
2025-03-10 23:17:36 -07:00
Annika Hannig
993c5ce8af
Implement focus-monitor to focus a specific monitor by output.
2025-03-10 23:17:36 -07:00
Toby Bridle
47dd338340
feat: 🎉 add show-pointer for Screenshot and ScreenshotScreen
2025-03-10 22:31:50 -07:00
Jon Heinritz
87b6c12625
Add Shell completions ( #1226 )
...
* 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-10 20:14:34 +00:00
Ivan Molodetskikh
b351f6ff22
Keep track of RenderElementStates in offscreens
...
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-10 07:59:14 +03:00
Ivan Molodetskikh
12817a682d
Store offscreen element id on Mapped instead of user data
...
We don't need user data for this.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
88614c08fe
Make interactively moved window semitransparent
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
4f5c8e745b
Offscreen semitransparent tiles
...
Now that offscreen does damage tracking, we can reasonably do this. Note this
only affects full-tile opacity, not window opacity.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
f30413a744
layout/tile: Use animated tile size for open anim geo
...
This is the right value to use as the texture will also match the animated
size.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
3b8ce12316
tile: Use OffscreenBuffer for resize anims
...
OffscreenBuffer knows how to avoid recreating the texture every frame.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
880386e563
render_helpers/resize: Fix logic to allow for partially-filled texture
...
"texture geo" defines offset and src size, rather than the full texture size.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
266c6c3878
offscreen: Don't recreate if size decreased
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
7b033aa7c6
offscreen: Track and return damage
...
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-10 07:59:14 +03:00
Ivan Molodetskikh
efd8372b20
offscreen: Take damage into account when rendering
...
Does not yet signal the damage outside, but does skip rerendering if there was
no damage.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
74a30be10b
Cache texture in OpenAnimation
...
Don't recreate it unless the size changes. This lays the groundwork for also
tracking damage in the future.
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
1c521e4831
Update Smithay (Framebuffer type)
2025-03-10 07:59:14 +03:00
Jon Heinritz
eda43b2b93
doc: fix wrongly formatted link that rustdoc kept complaining about
2025-03-09 04:24:24 -07:00
LunarEclipse
593241d2f0
Added missing "Since: 25.02" to clipboard config documentation
2025-03-08 21:27:08 -08:00
Ivan Molodetskikh
69627bdc64
wiki: Document toggle-keyboard-shortcuts-inhibit and allow-inhibiting
2025-03-08 21:47:37 +03:00
Ivan Molodetskikh
3fa373c720
wiki: Add since to toggle-window-rule-opacity
2025-03-08 21:47:37 +03:00
Ivan Molodetskikh
083a56c729
wiki: Update the wording on the configuration breaking change policy
2025-03-08 14:54:34 +03:00
Ivan Molodetskikh
88fcf0c2a9
README: Mention tabs in features
2025-03-06 14:36:36 +03:00
dependabot[bot]
26618f8d50
build(deps): bump the rust-dependencies group with 5 updates
...
Bumps the rust-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.96` | `1.0.97` |
| [bitflags](https://github.com/bitflags/bitflags ) | `2.8.0` | `2.9.0` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.21.0` | `1.22.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.139` | `1.0.140` |
| [insta](https://github.com/mitsuhiko/insta ) | `1.42.1` | `1.42.2` |
Updates `anyhow` from 1.0.96 to 1.0.97
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.96...1.0.97 )
Updates `bitflags` from 2.8.0 to 2.9.0
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.8.0...2.9.0 )
Updates `bytemuck` from 1.21.0 to 1.22.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.21.0...v1.22.0 )
Updates `serde_json` from 1.0.139 to 1.0.140
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.139...v1.0.140 )
Updates `insta` from 1.42.1 to 1.42.2
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.42.1...1.42.2 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-03 03:36:44 -08:00
Ivan Molodetskikh
9f205d465c
mapped: Omit popups from animation snapshot
...
It's used only for resizes, and those render popups on top.
2025-03-02 10:01:52 +03:00
Alex David
d6e736aaf0
Allow disabling tap-and-drag ( #1107 )
...
* 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-02 10:01:34 +03:00
Martino Ferrari
36b28d9b96
Added top, left, bottom and right floating windows alignement ( #1169 )
...
* 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-03-01 17:46:27 +00:00
Ivan Molodetskikh
66113d7d76
wiki/FAQ: Remove mention of Waybar popups
...
This had been fixed a while ago.
2025-02-28 16:39:06 +03:00
dependabot[bot]
aa2e8b402c
build(deps): bump the smithay group with 2 updates
...
Bumps the smithay group with 2 updates: [smithay](https://github.com/Smithay/smithay ) and [smithay-drm-extras](https://github.com/Smithay/smithay ).
Updates `smithay` from `c24b431` to `25cf3cf`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/c24b431cc44458172f31276ca0fbade1ae09bdd9...25cf3cf41c5027ffeb55f90c683736726a81d71f )
Updates `smithay-drm-extras` from `c24b431` to `25cf3cf`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/c24b431cc44458172f31276ca0fbade1ae09bdd9...25cf3cf41c5027ffeb55f90c683736726a81d71f )
---
updated-dependencies:
- dependency-name: smithay
dependency-type: direct:production
dependency-group: smithay
- dependency-name: smithay-drm-extras
dependency-type: direct:production
dependency-group: smithay
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-28 00:45:33 -08:00
lanastara
311f3be5d8
wiki: remove wezterm issues ( #1182 )
...
* wiki: added note about nightly wezterm
* Update wiki/Application-Issues.md
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-02-27 19:16:27 +00:00
Ivan Molodetskikh
70dcd229cf
Extract encompassing_geo()
2025-02-27 10:38:36 +03:00
Ivan Molodetskikh
26fe4a489a
render_helpers: Use upscale(-1)
2025-02-27 09:54:26 +03:00
Ivan Molodetskikh
2363cf48e7
layout/monitor: Remove unused function
2025-02-27 08:21:05 +03:00
Ivan Molodetskikh
848294c09b
layout/monitor: Remove redundant passthrough functions
2025-02-27 08:21:05 +03:00
Ivan Molodetskikh
693d935538
Add honor-xdg-activation-with-invalid-serial debug flag
2025-02-26 19:33:58 +03:00
bbb651 🇮🇱
16405b9b2b
Implement niri msg pick-window
...
* feat: `niri msg pick-window`
* fixes
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-02-26 15:22:27 +03:00
Ivan Molodetskikh
4719cc6d59
cursor: Extract get_render_cursor_named()
2025-02-26 15:10:18 +03:00
Ivan Molodetskikh
98b92d4db7
wiki: Add off to touch {}
2025-02-26 14:33:16 +03:00
nnyyxxxx
1bdded7a44
feat(input): add off option to touch device
2025-02-26 03:32:21 -08:00
dependabot[bot]
9bfe90dee1
build(deps): bump the rust-dependencies group across 1 directory with 3 updates
...
Bumps the rust-dependencies group with 3 updates in the / directory: [clap](https://github.com/clap-rs/clap ), [portable-atomic](https://github.com/taiki-e/portable-atomic ) and [schemars](https://github.com/GREsau/schemars ).
Updates `clap` from 4.5.30 to 4.5.31
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.30...v4.5.31 )
Updates `portable-atomic` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/taiki-e/portable-atomic/releases )
- [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/portable-atomic/compare/v1.10.0...v1.11.0 )
Updates `schemars` from 0.8.21 to 0.8.22
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.21...v0.8.22 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: portable-atomic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-26 02:43:00 -08:00