Christian Meissl
305fc3b557
Activate newly mapped windows with a valid activation token
...
most of the time the activation token is passed
while the window is still unmapped. in this case
store the intend to activate the window for
later retrieval on map.
2024-11-29 21:57:36 -08:00
Ivan Molodetskikh
4c22c3285d
Refactor animation timing to use lazy clocks
2024-11-25 04:07:59 -08:00
Ivan Molodetskikh
93cee2994a
Refactor animations to take explicit current time
2024-11-25 04:07:59 -08:00
Ivan Molodetskikh
f64e7e14c3
Bump version to 0.1.10
2024-11-09 17:35:31 +03:00
Ivan Molodetskikh
07452f50a8
Update dependencies
2024-11-09 15:57:17 +03:00
Rasmus Eneman
e887ee93a3
Implement interactive window move
2024-10-27 23:07:39 -07:00
Ivan Molodetskikh
29602ca995
layout: Extract Monitor::workspaces_with_render_positions()
2024-10-14 11:08:44 +03:00
Ivan Molodetskikh
b501a9b303
Upgrade dependencies
2024-09-30 15:27:36 +03:00
Ivan Molodetskikh
6a48728ffb
Bump version to 0.1.9
2024-09-14 11:55:52 +03:00
Ivan Molodetskikh
9538e8f916
Upgrade dependencies
2024-09-13 15:05:33 +03:00
Ivan Molodetskikh
43578e21b1
Always clamp non-auto window height with >1 windows in column
2024-09-12 19:31:47 +03:00
Ivan Molodetskikh
f0157e03e7
Use libdisplay-info for make/model/serial parsing, implement throughout
2024-09-03 13:48:08 +03:00
Ivan Molodetskikh
09f3d3fb12
Extract Niri::update_render_elements()
2024-08-23 12:54:07 +03:00
Ivan Molodetskikh
7bfdf87bf0
Implement resize transactions
2024-08-22 15:19:11 +03:00
Ivan Molodetskikh
cf357d7058
Implement window resize throttling
2024-08-22 14:40:40 +03:00
Ivan Molodetskikh
618fa08aa5
Update Smithay (apply state in post commit)
2024-08-22 14:15:04 +03:00
Ivan Molodetskikh
8f71f8958e
Bump version to 0.1.8
2024-08-10 12:55:24 +03:00
Ivan Molodetskikh
c506fecc87
Upgrade dependencies
2024-07-27 09:28:40 +03:00
Ivan Molodetskikh
3ace97660f
Implement gradient color interpolation option ( #548 )
...
* Added the better color averaging code (tested & functional)
* rustfmt
* Make Color f32 0..1, clarify premul/unpremul
* Fix imports and test name
* Premultiply gradient colors matching CSS
* Fix indentation
* fixup
* Add gradient image
---------
Co-authored-by: K's Thinkpad <K.T.Kraft@protonmail.com >
2024-07-16 07:22:03 +00:00
Christian Meissl
570bf1cb3c
bump smithay
2024-07-08 08:30:00 +03:00
Ivan Molodetskikh
4fd04951e6
Bump version to 0.1.7
2024-06-29 08:39:13 +04:00
Ivan Molodetskikh
66202992c9
Fix blurry rounded corners on high scales
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
1dae45c58d
Refactor layout to fractional-logical
...
Lets borders, gaps, and everything else stay pixel-perfect even with
fractional scale. Allows setting fractional border widths, gaps,
struts.
See the new wiki .md for more details.
2024-06-18 14:01:28 +03:00
Ivan Molodetskikh
9ae98e09cb
Update Smithay
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
e3406ac255
Signal fractional scale to clients
...
Doesn't do anything yet because we don't bind the fractional scale
manager and don't allow fractional scales.
2024-06-10 18:08:00 +03:00
Ivan Molodetskikh
bfaf9ae060
Bump version to 0.1.6
2024-05-18 14:35:42 +04:00
Ivan Molodetskikh
0ce08b598c
Bump package versions
2024-05-16 18:04:18 +04:00
TheZoq2
47a8e75fd5
Add is_active_in_column
...
Add missing ```
Fix tests
2024-05-11 10:42:49 +04:00
Ivan Molodetskikh
34bcc6ea93
Split get resize data from update
2024-05-11 08:26:49 +04:00
Ivan Molodetskikh
9dfa121b8e
Implement interactive mouse resizing
2024-05-10 20:23:08 +04:00
Ivan Molodetskikh
73cc0079d6
Split update_render_elements() from advance_animations()
...
advance_animations() is called from places like input, whereas
update_render_elements() is strictly for rendering.
2024-05-04 11:10:02 +04:00
Ivan Molodetskikh
69aeba2a4d
shader_element: Store and set location separately
2024-05-04 09:49:32 +04:00
Ivan Molodetskikh
74996a2416
Make BorderRenderElement scale-agnostic
2024-05-03 21:49:47 +04:00
Ivan Molodetskikh
8ab50f9d1c
shader_element: Store program type instead of shader
2024-05-03 21:23:32 +04:00
Ivan Molodetskikh
5c32031111
shader_element: Make shader optional
...
The element is long-lived, but the shader itself isn't.
2024-05-03 20:20:36 +04:00
Ivan Molodetskikh
42cef79c69
Implement rounded window corners
2024-05-02 14:27:53 +04:00
Ivan Molodetskikh
9309b3be61
Split rendering between popups and window surface
2024-05-01 19:04:11 +04:00
Ivan Molodetskikh
365dbacae7
Move unmap snapshot from Mapped to Tile
2024-05-01 19:00:19 +04:00
Ivan Molodetskikh
3e598c565e
Implement border window rule
2024-04-24 22:01:26 +04:00
Ivan Molodetskikh
37a836f462
Bump version to 0.1.5
2024-04-20 16:55:39 +04:00
Ivan Molodetskikh
ff42f9b9d3
Start move animations from add/remove window/column
2024-04-16 08:59:15 +04:00
Ivan Molodetskikh
9d5f1c7ef7
Unify Animation- and RenderSnapshot
2024-04-13 14:16:07 +04:00
Ivan Molodetskikh
71be19b234
Implement window resize animations
2024-04-13 11:07:23 +04:00
Ivan Molodetskikh
1888696567
Reimplement window closing anim in an efficient way
...
- Keep a root surface cache to be accessible in surface destroyed()
- Only snapshot during / right before closing, rather than every frame
- Store textures rather than elements to handle scale and alpha properly
2024-04-10 09:14:04 +04:00
Ivan Molodetskikh
dd011f1012
Implement window closing animations
2024-04-09 23:42:01 +04:00
Ivan Molodetskikh
f81b51f4c0
Bump version to 0.1.4
2024-03-30 11:39:12 +04:00
Ivan Molodetskikh
493c8dc890
Implement block-out-from window rule, fix alpha on window screenshots
2024-03-24 10:22:56 +04:00
Ivan Molodetskikh
8b4a9d68e0
Implement opacity window rule
2024-03-24 08:30:26 +04:00
Ivan Molodetskikh
b7ed2fb82a
Add is-active window rule matcher
2024-03-23 15:45:44 +04:00
Ivan Molodetskikh
db49deb7fd
Implement draw-border-with-background window rule
2024-03-19 18:29:13 +04:00