Florian Finkernagel
fd1f43673c
Workspace-doc: reference set-workspace-name
2025-03-21 00:37:37 -07:00
Ivan Molodetskikh
9d10def7e8
wiki: Add Workspaces page
2025-03-21 09:26:21 +03:00
Ivan Molodetskikh
e251ca7340
wiki: Document windowed fullscreen
2025-03-18 08:43:20 +03:00
Ivan Molodetskikh
9a527cc571
Track uncommitted windowed fullscreen state
...
Alright, this is the proper implementation. No more flickering.
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
39f52b7585
Implement toggle-windowed-fullscreen
...
Windowed, or fake, or detached, fullscreen, is when a window thinks that it's
fullscreen, but the compositor treats it as a normal window.
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
b447b1f4de
layout: Rename argument from window to id
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
1a0fab05b6
layout: Don't forget to call on_commit() for the interactively moved window
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
fbb399f01d
layout/tests: Implement going into fullscreen state
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
6a80ec4704
layout/tile: Don't take fullscreen into account in min/max size
...
They are used strictly for non-fullscreen size computation.
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
e8b158641b
layout: Verify moved tile invariants
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
27a715aded
layout: Test that interactively moved window is not pending fullscreen
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
926e63a5f3
Refactor request_fullscreen() to be an argument on request_size()
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
e879199880
layout: Switch two places to workspaces_mut()
2025-03-17 22:31:19 -07:00
Cole Leavitt
5b6b6a5fe1
Add wait-for-frame-completion-in-pipewire debug flag for NVIDIA screencasts
2025-03-17 12:03:43 -07:00
Johannes Horner
e11af089aa
nix: Install shell completions ( #1280 )
2025-03-17 17:16:39 +03:00
Kent Daleng
5e549e1323
ci/wiki: check that (local) links are well formed ( #1282 )
...
* add check-links step, fix some links
* don't depend on build right now
* fix fragment
* reintroduce dependency for build
* don't only check links on push to main
* maybe this is a more sensible dependency tree for this stuff
* change commented suggestions, try v2.0.2 for action
* describe why we're on v2.0.2
* revert to %E2%80%90 (works with lychee anyway)
2025-03-16 20:15:37 +03:00
Ivan Molodetskikh
287480b541
Keep buffer size when switching dynamic cast to Nothing
...
Otherwise, we won't actually clear it because it'll become Pending.
2025-03-16 08:32:45 +03:00
Hilmar Wiegand
a022fedd51
nix: Update flake.lock
2025-03-15 11:44:51 -07:00
Ivan Molodetskikh
a4b8e100c0
Update Smithay & deps (fix panic during monitor hotplugging)
2025-03-15 20:42:22 +03:00
Ivan Molodetskikh
62576796be
wiki: Add a Screencasting page
2025-03-15 19:58:18 +03:00
Ivan Molodetskikh
31891e6642
Implement dynamic screencast target
2025-03-15 09:55:46 -07:00
Kent Daleng
392fc27de1
Use anchors on the wiki ( #1266 )
...
* wiki testing
* wiki updates
* use .md with anchors, revert sidebar
* bump wiki action
* add some more anchors, fix some language
* change links to be more descriptive by themselves
2025-03-15 15:42:05 +00:00
Ivan Molodetskikh
9e560e7e60
Move CastTarget to src/niri.rs
2025-03-15 11:22:30 +03:00
Ivan Molodetskikh
cee2ec7ab7
Use windows() instead of with_windows()
2025-03-15 11:18:54 +03:00
Ivan Molodetskikh
8c4ebb00a1
Store cast Stream ID, use it for Redraw request
...
Unlike StopCast, Redraw targets a specific Cast. Use the stream ID to
identify it.
2025-03-15 10:23:00 +03:00
Duncan Overbruck
f6aa8c1793
Add move-column-to-index action
2025-03-14 12:57:33 -07:00
Duncan Overbruck
a5d58d670b
Add focus-column (by index) action
2025-03-14 12:57:33 -07:00
dependabot[bot]
b4922086ce
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 `a503d98` to `796c41c`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/a503d981d1be9a54b286ab5e160e4b9edddb500f...796c41c0294ccc195b0f59228d6467cc6c8f5de8 )
Updates `smithay-drm-extras` from `a503d98` to `796c41c`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/a503d981d1be9a54b286ab5e160e4b9edddb500f...796c41c0294ccc195b0f59228d6467cc6c8f5de8 )
---
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-03-14 01:39:00 -07:00
Ivan Molodetskikh
fd3b1f2b6c
layout: Preserve previous view offset on consume-left
2025-03-14 08:50:29 +03:00
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