Ivan Molodetskikh
9571d149b2
Render workspaces separately with gaps between
...
This design makes more sense spatially, and is required for the
Overview. Gaps also make it clear how clipping windows to workspace
bounds works.
Background and bottom layer-shell surfaces get duplicated for each
workspace, while top and overlay stay "on top".
2025-04-25 02:00:18 -07:00
Ivan Molodetskikh
7e253d2687
layout: Don't pass scale to render unnecessarily
...
These parts of the layout already know their scale.
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
f7106f9658
Update dependencies
2025-03-29 10:56:30 +03:00
Ivan Molodetskikh
926e63a5f3
Refactor request_fullscreen() to be an argument on request_size()
2025-03-17 22:31:19 -07: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
1c521e4831
Update Smithay (Framebuffer type)
2025-03-10 07:59:14 +03:00
Ivan Molodetskikh
b94a5db879
Bump version to 25.02
2025-02-21 09:05:26 +03:00
Ivan Molodetskikh
4a4dcb85ef
Update dependencies
2025-02-21 08:03:48 +03:00
Ivan Molodetskikh
4f05a74aa8
Add alpha parameter to shaders
...
Lets us add extra opacity.
2025-02-10 07:29:33 -08: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
a10705fb20
Add toggle-window-rule-opacity action
2025-01-23 11:13:55 +03:00
Ivan Molodetskikh
c892f04c96
tile: Rename update() to update_render_elements()
2025-01-21 11:31:30 +03:00
Ivan Molodetskikh
60b78dc2cd
Bump version to 25.01
2025-01-10 15:16:36 +03:00
Ivan Molodetskikh
a2f9d132a0
Migrate to new Rectangle functions
2025-01-04 11:22:56 +03:00
Ivan Molodetskikh
0dbd14ebdc
Update dependencies
2025-01-02 11:50:51 +03:00
Ivan Molodetskikh
8409107a5b
Implement default-window-height for scrolling windows
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
be05b66ac3
Hide focus ring for unfocused layout and under interactive move
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
a24a6e4e3c
Implement is-floating window rule matcher
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
6fba4c371e
Implement default-window-height window rule
...
Only works for floats that aren't initially fullscreen atm.
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
daaee43be3
layout: Refactor window opening targets
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
28b78a563b
layout: Pass and store view_size on a Tile
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
38350935e6
layout: Rename update_interactive_resize() to on_commit()
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
421cd89a0f
layout: Accept &mut self in request_fullscreen()
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
aac54d0ea1
Implement floating child stacking above parents
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
10460191b9
Honor min/max size in more places like initial configure
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
c5fffd6e2c
Initial WIP floating window implementation
2024-12-30 20:12:37 +03:00
Ivan Molodetskikh
8665003269
layout: Extract ScrollingSpace
...
Leave the Workspace to do the workspace parts, and extract the scrolling parts
into a new file. This is a pre-requisite for things like the floating layer
(which will live in a workspace alongside the scrolling layer).
As part of this huge refactor, I found and fixed at least these issues:
- Wrong horizontal popup unconstraining for a smaller window in an
always-centered column.
- Wrong workspace switch in focus_up_or_right().
2024-12-01 22:24:21 -08:00
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