Victoria Brekenfeld
eea93d543e
state: Correctly update primary output
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
ddcb435632
debug: Fix running with new kms backend
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
bfbf20d61d
kms: fixup device-usage logic
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
492e16bfa5
data-device: Fix rendering DnD icons on separate threads
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
a97279147e
cursor: Re-enable cursor image cache
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
977ad674e5
kms: Fix initial output placement
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
12fab6e220
kms: Don't block surface-threads on startup cond
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
31ff17a323
kms: Limit frame-callbacks to one per refresh
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
92f3dbce01
chore: Cleanup
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
800e01a484
kms: Fix shaders for offscreen rendering
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
952f73dcc4
kms: Don't send render-states for mirrored renders
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
1a28e43aa7
kms: Fix broken mirroring with different scales but same mode
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
7373567af1
kms: Fix output mirroring not working across gpus
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
cc0bbb61e3
debug: Drop FPS struct for kms timings
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
0c11c0f959
input: Fix deadlock holding shell during grab code
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
469a366207
kms: New backend
...
New backend utilizing a thread per surface for precise frame
scheduling.
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
3b7bba3add
debug: Drop puffin, interactivity, renderdoc
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
cf0b0f9d2d
chore: Move some rendering-related state into the shell
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
cd90371c1e
xwayland: Make client drm-node threadsafe
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
9e05a84db2
state: Split up send_frames
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
c7d50e7c5b
seat: Make render-related state thread-safe
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
bd58481d19
element: Introduce CosmicMappedKey for safely hashing windows across threads
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
f481112cf9
output-configuration: Test all outputs at once
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
aae16c49dc
screencopy: Make threadsafe
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
e78e199663
chore: Update smithay for thread-safety
2024-06-26 12:59:33 +02:00
1280px
0f6622d8ee
l10n(ru): Minor Russian l10n updates
2024-06-24 08:11:19 -06:00
Victoria Brekenfeld
254c583b5d
chore: Update smithay
2024-06-19 13:27:56 +02:00
Ian Douglas Scott
f2342f56c1
Update to latest Smithay version
2024-06-19 12:39:16 +02:00
Àdhamh
c91d3fe77b
Create cosmic_comp.ftl
...
Scottish Gaelic (Gàidhlig, gd)
2024-06-17 14:19:53 +02:00
Ian Douglas Scott
fb88f389c3
Fix scheduling render on initial window configure map
...
Not sure if there's a better way to organize this, but this makes sure
`visible_output_for_surface` can find an output and schedule a render,
on initial configure.
Fixes https://github.com/pop-os/cosmic-comp/issues/476 .
2024-06-12 09:39:07 +02:00
Ian Douglas Scott
036ca84829
Add alpha-modifier-v1 protocol
2024-06-10 14:31:51 +02:00
Victoria Brekenfeld
b5dcec5215
focus: Don't stack overflow because None=None
2024-06-06 13:07:29 +02:00
Ian Douglas Scott
697ec9e1fe
Use active() instead of surfaces().any in stack same_client_as
...
Setting the clipboard is only allowed when the keyboard focus is the
same client as the client trying to set the clipboard. We shouldn't
allow background windows in stacks to set the clipboard.
I don't know if anything else expects `same_client_as` to have this `any`
behavior.
2024-06-04 13:24:25 +02:00
Ian Douglas Scott
d9a1ec04bd
Set clipboard/primary focus in refresh_focus
...
This should fix https://github.com/pop-os/cosmic-comp/issues/494 , and
make clipboard and primary focus consistently correct.
Changing the active element of a stack needs to change the clipboard
focus, but it wasn't being changed since the `KeyboardFocusTarget` was
unchanged. The `CosmicStack` methods that change the active stack
element also have no obvious way to change the keyboard focus. So we can
set this in `refresh_focus`, which should be correct.
If the new focus `WlSurface` is `None`, this clears the focus instead of
leaving it as the previous code did. I believe that is desirable.
Requires https://github.com/Smithay/smithay/pull/1442 to avoid repeated
`offer`s, instead of only when focus changed.
(Perhaps this could better be solved by having a `WlSurface` variant of
`KeyboardFocusTarget`, like pointer focus, or some mechanism for a stack
of focus, which could help other things. But it's also unclear exactly
how that would work with the code for setting the active stack element,
among other questions.)
2024-06-04 13:24:25 +02:00
Ian Douglas Scott
cbca13803c
Update libcosmic to fix assertion error
...
Includes https://github.com/pop-os/libcosmic/pull/482 , and fixes
https://github.com/pop-os/cosmic-comp/issues/530 .
2024-05-31 15:57:10 -06:00
Ian Douglas Scott
7b79387579
Update wayland-rs ( #529 )
...
Updates to latest Smithay and cosmic-protocols, which brings in the
latest version of wayland-rs.
I've already pushed the update to cosmic-protocols.
2024-05-31 14:48:19 -07:00
Ryan Brue
f4eefcb2a1
chore: cargo update
2024-05-30 17:15:35 -04:00
Ryan Brue
b4a712c2bf
chore: cargo fmt
2024-05-30 23:05:34 +02:00
Ryan Brue
6ca1a37a53
design: Make server side decorations compact
2024-05-30 23:05:34 +02:00
Ryan Brue
16cce7c97a
chore: cargo update
2024-05-30 23:05:34 +02:00
Ashley Wulber
13e67f3dc2
fix: apply activated state when updating maximized layout
2024-05-30 22:25:33 +02:00
Skygrango
743b5ad4a7
i18n(zh_TW): add Taiwanese translation
2024-05-29 06:27:35 -06:00
Arthur Araujo
b8f245f878
Add brazilian portuguese translation
2024-05-29 06:27:12 -06: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
1ed9649891
Account for SSD_HEIGHT in XwaylandHandler::configure_request
...
`CosmicWindow::set_geometry` is going to subtract the `SSD_HEIGHT`
before setting the size for the X11 window, so we need to include it
here.
2024-05-29 06:26:41 -06:00
Ashley Wulber
a3df48fe17
fix: update maximized elements when refreshing the floating layout
...
fixes the gap between the window and the panel
2024-05-29 01:05:09 +02:00
Ashley Wulber
8df49bb7c1
feat: add shortcut for super-tab
2024-05-28 06:58:38 -06:00
Ian Douglas Scott
4b9cc43924
Update Smithay with Nvidia IN_FENCE_FD fix
...
The only thing added to Smithay since the last update is
https://github.com/Smithay/smithay/pull/1437 .
Fixes https://github.com/pop-os/cosmic-comp/issues/497 .
2024-05-24 23:25:55 +02:00
LazyTanuki
dcc4873e60
feat: configurable keyboard repeat rate and delay
2024-05-23 22:41:54 +02:00
PixelDots
b3c606fdf6
Fixes https://github.com/pop-os/cosmic-epoch/issues/346
2024-05-23 17:17:37 +02:00