Ivan Molodetskikh
219ca08836
Implement minimizing view movement on changes
...
Before this commit, windows were always left-aligned.
Now, when changing focus, if the window is fully visible, the view
doesn't move. If the window is not fully visible, the view is moved the
minimum amount.
2023-09-13 16:57:12 +04:00
Ivan Molodetskikh
c8b85b83c7
Update dependencies
2023-09-12 19:48:50 +04:00
Ivan Molodetskikh
84885fe5fb
layout: Add tests for various operations
2023-09-12 19:46:12 +04:00
Ivan Molodetskikh
99b4ea6541
layout: Fix assertion in verify_invariants()
2023-09-12 19:46:12 +04:00
Ivan Molodetskikh
513763eaec
layout: Replace add_window_to_output with add_window
2023-09-12 19:46:12 +04:00
Ivan Molodetskikh
e4b5f6518a
Update dependencies
2023-09-11 19:51:00 +04:00
Ivan Molodetskikh
07c4632165
Update dependencies
2023-09-11 19:24:09 +04:00
Ivan Molodetskikh
d52ca23caa
Add initial monitor screencast portal impl
...
DmaBuf monitor screencasting through xdg-dekstop-portal-gnome!
Somewhat limited currently, e.g. the cursor is always embedded. But gets
most of the job done.
2023-09-08 23:53:56 +04:00
Ivan Molodetskikh
bd0ecf9174
Roll tracy-client back to 0.15
...
The version must match across dependencies.
2023-09-08 09:30:22 +04:00
Ivan Molodetskikh
3affc89def
CI: Add profiling feature build
2023-09-06 17:40:24 +04:00
Ivan Molodetskikh
ec7e8112b1
Upgrade dependencies
2023-09-06 17:31:59 +04:00
Ivan Molodetskikh
98516aec9c
Remove fuzzel from generate-rpm requires
2023-09-06 17:31:47 +04:00
Ivan Molodetskikh
a75b0dcb6f
CI: Switch rustfmt to checkout v4 too
...
Forgot about this. But might as well test rust cache performance.
2023-09-06 17:20:19 +04:00
Ivan Molodetskikh
75c75c93e1
Add CI
...
Surely this will work first try
2023-09-06 17:11:25 +04:00
Ivan Molodetskikh
7460737481
Add animation-slowdown debug setting
2023-09-06 15:49:46 +04:00
Ivan Molodetskikh
c7a7b2daf2
input: Only send axis_stop when amount is present
...
This is the expected behavior. Unbreaks Alacritty scrolling.
2023-09-06 14:51:37 +04:00
Ivan Molodetskikh
180d07aab9
Redraw on cursor or DnD surface commits
2023-09-06 11:56:50 +04:00
Ivan Molodetskikh
f929370cf5
config: Add volume button example
2023-09-06 09:47:44 +04:00
Ivan Molodetskikh
18e29d0028
layout: Fix input to non-active window in column
2023-09-05 18:14:42 +04:00
Ivan Molodetskikh
934183ef00
input: Clip pointer movement smarter
2023-09-05 18:02:05 +04:00
Ivan Molodetskikh
72d6b387e7
Fix extra ref
2023-09-05 17:28:07 +04:00
Ivan Molodetskikh
b7f51fe44d
input: Remove some unwraps
2023-09-05 17:27:54 +04:00
Ivan Molodetskikh
5225bc9e55
Add configuration file
2023-09-05 12:58:59 +04:00
Ivan Molodetskikh
bdc86032e4
Fix line position
2023-09-05 08:10:19 +04:00
Ivan Molodetskikh
3cea52a0b2
Update Smithay to upstream
...
Pointer gestures were merged.
2023-09-04 16:36:27 +04:00
Ivan Molodetskikh
aa7777527b
Compile-disable trace events in release
2023-09-04 15:10:16 +04:00
Ivan Molodetskikh
682182f363
Update Smithay and fix winit presentation time
2023-09-04 15:09:58 +04:00
Ivan Molodetskikh
9b4a8fed4f
input: Don't use fully-qualified calls
2023-09-04 14:28:59 +04:00
Ivan Molodetskikh
1947a77fd8
niri: Remove start_time
2023-09-04 14:27:48 +04:00
Ivan Molodetskikh
7eaf9ec2b0
Use monotonic time as frame callback time
2023-09-04 14:27:16 +04:00
Ivan Molodetskikh
59a6119f46
Fix refresh passed to presentation feedback
2023-09-04 14:26:55 +04:00
Ivan Molodetskikh
786e0fa4f0
Re-enable dmabufs but without overlay planes
2023-09-04 10:24:23 +04:00
Ivan Molodetskikh
8df48c05ca
tty: Add commented-out wait-for-sync span
2023-09-04 09:56:28 +04:00
Ivan Molodetskikh
66467c8add
tty: Add commented-out no-color-transformation renderer
2023-09-04 09:55:53 +04:00
Ivan Molodetskikh
14bafdf202
tty: Add Tracy vblank frame events
2023-09-04 08:57:11 +04:00
Ivan Molodetskikh
acb9376d05
tty: Add name and presentation to vblank mark
2023-09-04 08:02:24 +04:00
Ivan Molodetskikh
acf3016bce
tty: Store surface name
2023-09-04 08:01:50 +04:00
Ivan Molodetskikh
b54e1522ff
tty: Add Surface state struct
2023-09-04 07:49:50 +04:00
xrtxn
1b9e9a15c8
fix LoopData not being a public type
2023-09-03 18:39:16 +04:00
Ivan Molodetskikh
0aa5f4c913
Fix smithay-drm-extras path dependency
2023-09-03 17:13:35 +04:00
Ivan Molodetskikh
ff4b3b0532
Disable dmabufs for now
...
For some reason they cause big rendering performance problems.
2023-09-03 15:55:36 +04:00
Ivan Molodetskikh
95cbe2a636
Send scanout feedbacks to surfaces
2023-09-03 15:15:55 +04:00
Ivan Molodetskikh
cc1c9d9325
Add initial dmabuf feedback implementation
2023-09-03 14:22:04 +04:00
Ivan Molodetskikh
03a9fd8af3
Move all traits one layer up
2023-09-03 14:10:02 +04:00
Ivan Molodetskikh
dcc6a55777
Move LoopData into niri file
2023-09-03 13:25:43 +04:00
Ivan Molodetskikh
73d7a1d73d
Remove DisplayHandle from LoopData
2023-09-03 13:14:20 +04:00
Ivan Molodetskikh
a8f581a506
Move backends to subfolder
2023-09-03 13:07:16 +04:00
Ivan Molodetskikh
5a707c879b
Replace Backend trait with enum
2023-09-03 13:04:32 +04:00
Ivan Molodetskikh
3bd5a012cb
Add Mod+Ctrl+Shift+T to toggle debug tint
2023-09-03 11:34:38 +04:00
Ivan Molodetskikh
2187661ff8
Inhibit power key when systemd service
...
This way we can suspend on power key rather than poweroff.
2023-09-03 10:28:00 +04:00