Victoria Brekenfeld
df74a322ab
mapped: Allow to query in-flight configure for resize throttling
2025-01-16 19:44:12 +01:00
Victoria Brekenfeld
6be5009b37
kms: Allow diverging primary plane formats under certain conditions
2025-01-06 20:23:05 +01:00
Yureka
9b78a2d780
refactor(shell/element): refactor how decorations height is accessed
...
This fixes several things:
- The xwayland code previously incorrectly used the SSD_HEIGHT (for Windows) even when the X11 surface was in a stack
- The SSD_HEIGHT was defined in surface.rs, even though rendering serverside decorations is done in the window/stack
Rename (min|max)_size to (min|max)_size_without_ssd in CosmicSurface and make it act accordingly
Add a new (min|max)_size() in CosmicWindow and CosmicStack, which takes the surface's (min|max)_size and adds the decorations.
Change all callers to use (min|max)_size() from the window or stack respectively, except is_dialog() where it does not matter.
2024-12-28 15:32:03 +01:00
Victoria Brekenfeld
fc84fa9948
shell: Fix windows global geometry to include ssd
2024-12-05 18:20:10 +01:00
Victoria Brekenfeld
51c8588f89
render: Use render_input_order
2024-10-22 19:43:47 +02:00
Victoria Brekenfeld
9c7c41c508
toplevel-info/mgmt: Update to v2/v3
2024-09-23 10:55:00 +02:00
Ashley Wulber
b8eaf5dcb4
chore: update smithay
2024-08-02 15:54:05 +02:00
Ian Douglas Scott
94fecec9cb
Add a SplitRenderElements type, with useful methods
...
`(w_elements, p_elements)` tuples are used in a bunch of places. A
struct with named fields is generally an improvement just due to the
fact the order is non-obvious.
But we can also add methods. In particular,
`extend_from_workspace_elements` abstracts out some of the more
redundant code in `workspace_elements`.
It would be nice to avoid allocation everywhere, but iterators would
complicate lifetimes, run into issues with needing multiple mutable
borrows to things like the `Renderer`, and be awkward in certain
functions without generator syntax. In any case, cosmic-comp already
relies on allocating vectors here.
If this abstraction is commonly useful in compositors, perhaps it could
be moved to Smithay.
2024-07-15 17:12:05 +02:00
Victoria Brekenfeld
3b9d0ce3d7
HACK: Remap minimized X11 windows on restore
2024-07-10 22:36:40 +02:00
Victoria Brekenfeld
bf6ea3414b
x11surface: Unmap on minimize
2024-07-10 22:36:40 +02:00
Victoria Brekenfeld
e78e199663
chore: Update smithay for thread-safety
2024-06-26 12:59:33 +02:00
Ryan Brue
6ca1a37a53
design: Make server side decorations compact
2024-05-30 23:05:34 +02:00
Ian Douglas Scott
0c54511477
Invert is_decorated test in min_size/max_size
...
It looks like these if conditions assumed `true` mean "has SSDs". But it
actually means the surface is client-side decorated.
2024-05-29 06:26:41 -06:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Ian Douglas Scott
73b12194c0
Update smithay
2024-05-10 13:51:28 +02:00
Victoria Brekenfeld
cf75bc1952
chore: Update smithay/libcosmic
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
6858238bd6
shell: Unify element_for_(x11_|wl_)surface
2024-03-25 12:51:01 +01:00
Ian Douglas Scott
a1c8b3aa3e
Add support for profiling using tracy
2024-03-20 23:55:21 +01:00
Victoria Brekenfeld
3eb7e5f82e
shell: implement minimize
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
afa7ad6d6a
window: Add ssd interactive resize
2024-03-04 13:19:57 +01:00
Ian Douglas Scott
3036448c19
Update Smithay, with Window that supports X11 surfaces
2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
37623f063f
element: Don't send configure for X11 surfaces
2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
14867a0893
xdg-activation: Switch stack focus
2023-11-14 19:43:06 +01:00
Victoria Brekenfeld
5b7efa3a8b
floating: Restore size of moved maximized windows correctly
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
42aaafe586
utils: New geometry spaces local/global
2023-10-25 19:41:55 +02:00
Ian Douglas Scott
373af07319
Implement pointer constraints; update to send frame manually
2023-09-29 19:21:13 +02:00
Ian Douglas Scott
e1fc182c3e
Update Smithay
2023-09-13 20:24:11 -07:00
Ian Douglas Scott
e7e9b768c8
Update Smithay, adjusting for API changes
...
The main changes are those related to pointer gestures. Which are a bit
verbose but not too difficult.
2023-09-05 13:46:48 -07:00
Victoria Brekenfeld
c7d4fa5d53
shell: Fix render order regarding popups
2023-07-13 17:19:29 +02:00
Victoria Brekenfeld
5884e287a5
stacking: Correctly restore decoration state
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
5dda8cfef5
surface: Restore previous decoration mode
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
e73ebd4413
stacking: header
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
be1b4ceb10
shell: Allow querying current vs pending state
2023-06-09 16:26:13 +02:00
Victoria Brekenfeld
331b884f1e
tiling: Animate tree changes
2023-05-12 20:01:37 +02:00
Victoria Brekenfeld
8f6ad62017
shell: Set xdg_shell v4 bounds
2023-04-05 20:06:24 +02:00
Victoria Brekenfeld
bc49507353
kms: Dmabuf feedback support
2023-04-05 20:06:24 +02:00
Victoria Brekenfeld
7ad37946d3
Revert "kms: Dmabuf Feedback support"
...
This reverts commit c8bb417d9b .
2023-03-23 14:58:29 +01:00
Victoria Brekenfeld
c8bb417d9b
kms: Dmabuf Feedback support
2023-03-23 13:51:33 +01:00
Victoria Brekenfeld
21db472f8b
deps: Update smithay & relative motion events
2023-01-30 23:19:36 +01:00
Victoria Brekenfeld
037a210c90
xwayland: Avoid propagating pressed keys
2023-01-26 21:24:50 +01:00
Victoria Brekenfeld
9b1221edc5
xwm: More fixes
2023-01-23 18:25:01 +01:00
Victoria Brekenfeld
1d28574088
xwayland: Add initial support
2023-01-18 20:25:32 +01:00
Victoria Brekenfeld
7992ad67f6
update smithay, iced; reworked window for xwayland
2023-01-16 15:37:54 +01:00