Ivan Molodetskikh
df70140b36
Allow tabbed columns to go fullscreen
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
f90eb0cbe4
Implement tabbed column display mode
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
55e2ea0c3b
layout: Extract tile.hit(), HitType::hit_tile()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
1d883931b4
Account for border in contents_under()
...
Fixes pointer clicks going through window borders to a layer surface below,
also fixes window not getting activated in all cases from a border click.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
b65fad09d8
Remove unnecessary mut
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
09a559d3c9
layout: Fix variable names
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
9fc749f3d4
layout/tile: Rename variable
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
f836d1c28a
layout/scrolling: Extract activate_idx()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
4f05a74aa8
Add alpha parameter to shaders
...
Lets us add extra opacity.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
c30f522ef2
shader: Return real alpha from alpha()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
397e704d64
layout/scrolling: Extract variable
2025-02-07 10:03:38 +03:00
Ivan Molodetskikh
acc9d3e409
layout/scrolling: Extract variable
2025-02-07 10:03:38 +03:00
Ivan Molodetskikh
0c59fc304c
layout/scrolling: Use early return in tiles_origin()
2025-02-07 10:03:38 +03:00
Ivan Molodetskikh
abd7f1dce3
layout/scrolling: Extract two variables
2025-02-07 10:03:38 +03:00
Ivan Molodetskikh
1d87da00b7
layout/scrolling: Extract two variables
2025-02-07 10:02:25 +03:00
Ivan Molodetskikh
91515ac6dc
layout/scrolling: Extract resolve_* as methods on Column
2025-02-07 10:02:25 +03:00
Ivan Molodetskikh
7ec771f7ec
layout: Rename toplevel_bounds() to new_window_toplevel_bounds()
2025-02-07 09:26:43 +03:00
Ivan Molodetskikh
a42a5ac696
layout: Remove redundant ()
2025-02-07 08:03:39 +03:00
Ivan Molodetskikh
b31c0359eb
layout: Extract col variable
2025-02-06 10:30:03 +03:00
Ivan Molodetskikh
934e5a6033
layout: Preserve focused window in column when window above is closed
...
Might be the longest standing bug in niri?
2025-02-06 09:41:15 +03:00
peelz
690d635505
Initialize tracing_subscriber earlier
2025-02-05 18:06:46 +03:00
Ivan Molodetskikh
a444efd0eb
Add focus-window-in-column (by index) action
2025-02-05 17:25:57 +03:00
Ivan Molodetskikh
c41f93a468
Add focus-window-top/bottom/down-or-top/up-or-bottom actions
2025-02-05 17:25:51 +03:00
Mathias Zhang
900da597e4
input: add touchpad drag-lock setting
2025-02-05 13:35:13 +03:00
Ivan Molodetskikh
d320833f40
Update Smithay (text-input double input fix)
2025-02-05 12:54:25 +03:00
dependabot[bot]
c384b2489f
build(deps): bump clap in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [clap](https://github.com/clap-rs/clap ).
Updates `clap` from 4.5.27 to 4.5.28
- [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.27...clap_complete-v4.5.28 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-05 12:52:57 +03:00
Ivan Molodetskikh
ddcac86d1d
mapped: Add needs_configure flag
...
Allows to de-duplicate configures from requests that require one.
2025-02-05 09:36:58 +03:00
Ivan Molodetskikh
734e3a6d3c
Fix find_window_and_output() returning None with no outputs
...
As far as I can tell, this would mess up a ton of the logic. Not sure
how anything worked with no outputs before?
2025-02-05 09:35:10 +03:00
Ivan Molodetskikh
f18b1a7043
mapped: Document RequestSizeOnce
2025-02-05 08:41:40 +03:00
Ivan Molodetskikh
7d24ad23c2
layout/scrolling: Extract tiles_origin()
2025-02-04 10:42:44 +03:00
Ivan Molodetskikh
691bc064bb
wiki: Fix copy-paste typo
2025-02-04 10:42:44 +03:00
dependabot[bot]
553b1ba852
build(deps): bump the rust-dependencies group with 3 updates
...
Bumps the rust-dependencies group with 3 updates: [wayland-backend](https://github.com/smithay/wayland-rs ), [wayland-scanner](https://github.com/smithay/wayland-rs ) and [wayland-client](https://github.com/smithay/wayland-rs ).
Updates `wayland-backend` from 0.3.7 to 0.3.8
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
Updates `wayland-scanner` from 0.31.5 to 0.31.6
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
Updates `wayland-client` from 0.31.7 to 0.31.8
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
---
updated-dependencies:
- dependency-name: wayland-backend
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: wayland-scanner
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: wayland-client
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 13:42:47 +03:00
Ivan Molodetskikh
d5592743cb
Add impl From<Color> for Gradient
2025-02-02 09:55:40 +03:00
Jesse Hallett
019e75955d
document interaction between hide-when-typing and wine wayland ( #1076 )
...
* document interaction between hide-when-typing and wine wayland
* Update wiki/Configuration:-Miscellaneous.md
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-02-02 04:53:16 +00:00
Ivan Molodetskikh
32ad545f84
layout: Extract max_tile_height
2025-02-01 13:05:07 +03:00
Ivan Molodetskikh
4eddcef1be
layout: Inline variable
2025-02-01 13:05:07 +03:00
Ivan Molodetskikh
68776f1cee
layout: Verify that individual tiles don't get sized taller than working area
2025-02-01 10:48:16 +03:00
Ivan Molodetskikh
a0e2a15c60
Take border into account for fixed preset-column-width for tiled windows
2025-01-31 21:30:22 +03:00
Ivan Molodetskikh
88c6778771
Extract SizeChange::from(PresetSize)
2025-01-31 21:15:43 +03:00
Ivan Molodetskikh
73f6d3366e
wiki: Remove foot mention
...
This issue has been fixed in foot.
2025-01-31 20:42:50 +03:00
Ivan Molodetskikh
48a4d5c8a3
Fix typo in comment
2025-01-31 19:24:42 +03:00
Ivan Molodetskikh
6f2f7fa259
layout: Update module comment
2025-01-31 18:05:09 +03:00
Ivan Molodetskikh
49ddf66c2f
layout: Move tests to separate file
...
This way changing just the tests won't rebuild the main library.
2025-01-31 17:56:43 +03:00
fable
a169e0335d
adjust horizontal view movement gestures snap points for center-focused-column "on-overflow" ( #1052 )
...
* Adjust snap points for center-focused-column "on-overflow"
* fix outer gaps not being accounted for in is_overflowing
2025-01-30 17:17:16 +03:00
may
e412a0fc6b
add option to set xkb config from file ( #1062 )
...
* add option to set xkb config from file
* Apply suggestions from code review
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-30 13:50:05 +00:00
dependabot[bot]
fb5fedbf24
build(deps): bump pipewire from 86df391 to fd3d8f7
...
Bumps pipewire from `86df391` to `fd3d8f7`.
---
updated-dependencies:
- dependency-name: pipewire
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-30 13:57:34 +03:00
bbb651
6b04b1e454
misc: Use helper function for restriced protocol filters
...
I looked at cosmic-comp as a sanity check and they do the same thing,
I ended up yoinking their function name because it reads better,
not sure about "unrestricted" vs "privileged".
2025-01-30 07:18:42 +03:00
bbb651
0c340ec5ea
misc: Use CursorImageSurfaceData type alias
...
instead of `Mutex<CursorImageAttributes>`
2025-01-30 07:18:42 +03:00
bbb651
34679c75a4
misc: Fix typos
...
Using [`typos`](https://github.com/crate-ci/typos ) cli
2025-01-30 07:18:42 +03:00
Ivan Molodetskikh
1d3820a064
layout: Do not update original output for named workspaces upon adding windows
...
The way named workspaces are generally used makes them more "attached" to their
original output.
For example, you have a two-monitor setup with named workspaces on both. When
you disconnect the monitor to go somewhere and work for a while, then return,
you probably want your named workspaces to return to where they were on your
second monitor.
This is in contrast to unnamed workspaces which are more transient and should
more easily follow you wherever you're working.
2025-01-29 13:56:26 +03:00