Ivan Molodetskikh
c5be2dd549
Add Tracy span to Tile::render
2024-05-01 19:00:54 +04:00
Ivan Molodetskikh
365dbacae7
Move unmap snapshot from Mapped to Tile
2024-05-01 19:00:19 +04:00
Ivan Molodetskikh
af9caa1d9b
wiki: Warn against --all-features in getting started
2024-05-01 12:10:38 +04:00
Michael Forster
68ff36f683
Add libXcursor and libXi to nix flake
...
In my tests this was necessary to develop Niri using non-NixOS Nix.
Otherwise Niri panics with this error message: called `Result::unwrap()`
on an `Err` value: EventLoopCreation(NotSupported(NotSupportedError)).
2024-04-30 02:19:28 -07:00
Ivan Molodetskikh
c0d5001e90
Update Smithay
2024-04-29 14:27:38 +04:00
Ivan Molodetskikh
f3ded0c2e6
Move shader get out of ResizeRenderElement::new
2024-04-29 14:27:38 +04:00
Ivan Molodetskikh
f43fa55526
Fix fullscreen backdrop rendering below focus ring
2024-04-28 06:48:48 +04:00
Ivan Molodetskikh
c1c43c5393
Fix size_curr_geo in resize shader
2024-04-27 13:12:21 +04:00
Ivan Molodetskikh
5899010c96
Extract mat3_uniform
2024-04-27 13:11:25 +04:00
Ivan Molodetskikh
9f3715b731
Add distro to issue template
2024-04-27 07:44:51 +04:00
Ivan Molodetskikh
8d99e3c015
Add disable-direct-scanout debug flag
2024-04-25 22:10:52 +04:00
Ivan Molodetskikh
9df71bcb5d
Add fixme comment
2024-04-25 08:48:35 +04:00
Ivan Molodetskikh
04c5b9ad74
Only give keyboard focus to exclusive layer-shell surfaces
...
Workaround until we properly support on-demand.
See: https://github.com/YaLTeR/niri/issues/308
2024-04-25 08:43:37 +04:00
Ivan Molodetskikh
fd6c8c7790
Implement focus-ring window rule
2024-04-24 22:17:53 +04:00
Ivan Molodetskikh
3e598c565e
Implement border window rule
2024-04-24 22:01:26 +04:00
Ivan Molodetskikh
e261b641ed
Filter out the Intel CCS modifiers
2024-04-24 12:26:59 +04:00
Ivan Molodetskikh
dc1d2b706c
Implement ideal scale factor guessing
2024-04-24 12:26:59 +04:00
Ivan Molodetskikh
f9b008163c
Fix spelling mistake
2024-04-23 00:09:42 -07:00
Kirill Chibisov
279659ac90
Unconstrain InputMethod's PopupSurface
...
Make IME popup to be visible inside the parent and not obscure the
text input rectangle region.
Fixes https://github.com/YaLTeR/niri/issues/221
2024-04-23 00:09:42 -07:00
Kirill Chibisov
c2d03d82ce
Use PopupKind instead of PopupSurface
2024-04-23 00:09:42 -07:00
Ivan Molodetskikh
5299590290
Improve cropping logic in resize shader example
...
The previous logic failed to the left of the geometry.
2024-04-22 22:37:47 +04:00
Ivan Molodetskikh
1681ed16d9
Change custom-shader to a prelude-epilogue system
2024-04-22 19:05:11 +04:00
Ivan Molodetskikh
d4bed70884
Advertise Abgr8888 and Xbgr8888 in shm
2024-04-22 17:47:12 +04:00
Ivan Molodetskikh
49f5402669
Implement window-resize custom-shader
2024-04-21 20:16:54 +04:00
Ivan Molodetskikh
2ecbb3f6f8
Remove obsolete comment
2024-04-21 12:28:49 +04:00
Ivan Molodetskikh
6a80078259
README: Bring back NVIDIA issues note
v0.1.5
2024-04-20 17:45:17 +04:00
Ivan Molodetskikh
303c51ee20
README: Update demo video
2024-04-20 17:30:35 +04:00
Ivan Molodetskikh
37a836f462
Bump version to 0.1.5
2024-04-20 16:55:39 +04:00
Ivan Molodetskikh
361ede4bcd
wiki: Mention border background window rule in the FAQ
2024-04-20 16:52:51 +04:00
Ivan Molodetskikh
4fc80124ad
Move info from README to Getting Started wiki page
2024-04-20 11:24:33 +04:00
Ivan Molodetskikh
ba44aeda4a
wiki: Add a FAQ page
2024-04-20 10:24:20 +04:00
sodiboo
b5f7e4bd83
niri_ipc::Socket; niri msg version; version checking on IPC (#278 )
...
* Implement version checking in IPC
implement version checking; streamed IPC
streamed IPC will allow multiple requests per connection
add nonsense request
change inline struct to json macro
only check version if request actually fails
fix usage of inspect_err (MSRV 1.72.0; stabilized 1.76.0)
"nonsense request" -> "return error"
oneshot connections
* Change some things around
* Unqualify niri_ipc::Transform
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-04-19 13:02:32 +00:00
Ivan Molodetskikh
b98b95883d
wiki: Attempt to fix broken tip
2024-04-19 14:47:06 +04:00
Ivan Molodetskikh
568c35ff87
Synchronize column removal anim on consume left/right
...
Visible when consuming left/right when always-centered and differing
horizontal view anim.
2024-04-19 13:48:39 +04:00
Ivan Molodetskikh
c4f600bded
wiki: Add missing newline
2024-04-19 12:49:11 +04:00
Ivan Molodetskikh
2c8d1030ab
Separate tile X and Y movement animations
...
Helps with the jank caused by lack of transactions when consuming to the
left/right. Resize triggers a few frames later and restarts the
movement. Now it only restarts the vertical and not the horizontal
movement.
2024-04-19 12:44:24 +04:00
Ivan Molodetskikh
f51dd67f2d
wiki: Add Since to allow-when-locked
2024-04-19 11:29:01 +04:00
Ivan Molodetskikh
3509de6fbf
default-config: Add mic mute bind
2024-04-19 11:14:51 +04:00
Ivan Molodetskikh
0477986a0d
wiki: Move overdamped spring warning higher
2024-04-19 10:50:30 +04:00
Ivan Molodetskikh
914237fa11
Add allow-when-locked=true spawn bind property
2024-04-19 10:49:46 +04:00
Ivan Molodetskikh
0b93c46ce8
animation: Scale initial velocity by slowdown
2024-04-18 21:55:01 +04:00
Ivan Molodetskikh
0fcd981b86
Fix crop + crossfade artifacts
2024-04-18 21:39:27 +04:00
Ivan Molodetskikh
5c4153e26b
wiki: Add a warning about overdamped springs
2024-04-18 20:51:25 +04:00
Ivan Molodetskikh
4d010b7943
animation: Clamp spring value
...
I've had an overdamped spring return an extreme value and trip up
an integer overflow check.
2024-04-18 20:45:37 +04:00
Ivan Molodetskikh
65c342f2cb
config: Rearrange animations in struct
2024-04-18 17:36:12 +04:00
Ivan Molodetskikh
47f6c85f64
Preserve tile move config on animation restarts
...
This fixes a problem where consume-into-column would use resize
animation config instead of the window-movement config in most cases
(since a resize comes very shortly after the move starts).
A similar change to the column movement anim is more detrimental than
it's worth.
2024-04-18 00:30:12 +04:00
Ivan Molodetskikh
3b37f1a557
Sync expel animations
2024-04-17 18:03:17 +04:00
Ivan Molodetskikh
dee0abb713
wiki: Clarify animations
2024-04-17 15:10:42 +04:00
Ivan Molodetskikh
bbb4a64126
Use correct animation config for tile removal
2024-04-17 14:38:34 +04:00
Ivan Molodetskikh
dfe49aa705
Use movement anim for view anim during movement
2024-04-17 14:29:22 +04:00