Commit graph

1788 commits

Author SHA1 Message Date
Vukašin Vojinović
1f7f0c70b7 chore: format for Rust 2024 2025-10-22 23:55:11 +02:00
Vukašin Vojinović
0a8da05847 fix(kms): early exit when iterating over crts
Clippy noted that this loop doesn't actually loop, so maybe this fixes some issues.
2025-10-22 23:55:11 +02:00
Vukašin Vojinović
b6c5d00bec cargo fmt 2025-10-22 23:55:11 +02:00
Vukašin Vojinović
5e9ea93819 chore: manual clippy 2025-10-22 23:55:11 +02:00
Vukašin Vojinović
0847247c33 chore: clippy 2025-10-22 23:55:11 +02:00
Vukašin Vojinović
3b70bc0265 chore: update dependencies 2025-10-22 23:55:11 +02:00
Jeremy Soller
23db1b9ec3 Use automatic shared library dependency on libdisplay-info 2025-10-21 08:50:17 -06:00
Hosted Weblate
856a8bf98c i18n: translation updates from weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Stepan Denysenko <stepden04@gmail.com>
Co-authored-by: Yelysei <yelysei.matviienko@proton.me>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/uk/
Translation: Pop OS/COSMIC Comp
2025-10-21 13:42:43 +02:00
Ian Douglas Scott
cbab016cee Call dbus::ready even when systemd is enabled
The Gentoo overlap packaged needed this to get socket activation working
properly (https://github.com/fsvm88/cosmic-overlay/pull/88).

For some reason I didn't seem to need this testing socket activation on
Pop!_OS? Unless someone knows exactly why or has a better idea, for now
apply this change along with the socket activation change in
https://github.com/pop-os/xdg-desktop-portal-cosmic/pull/176.
2025-10-17 11:58:37 -07:00
Weblate (bot)
bead74f023
i18n: translation updates from weblate (#1744)
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/uk/
Translation: Pop OS/COSMIC Comp

Co-authored-by: Stepan Denysenko <stepden04@gmail.com>
Co-authored-by: Yelysei <yelysei.matviienko@proton.me>
2025-10-16 14:59:42 +02:00
Weblate (bot)
de32b0cb81
i18n: translation updates from weblate (#1738) 2025-10-15 14:45:19 +02:00
Hosted Weblate
fd88540def i18n: translation updates from weblate
Co-authored-by: Aleksandar Anžel <44969003+AAnzel@users.noreply.github.com>
Co-authored-by: Mikenu Takeru <mikenu-jp@users.noreply.hosted.weblate.org>
Co-authored-by: sicKat <giuseppecatillo2003@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/fa/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/it/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ro/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/sk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/sr_Cyrl/
Translation: Pop OS/COSMIC Comp
2025-10-14 15:32:38 +02:00
Hosted Weblate
d854eeb439 i18n: translation updates from weblate
Co-authored-by: Ziad El-sayed <ziadelsayed1797@tutamail.com>
Co-authored-by: twlvnn kraftwerk <kraft_werk@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ar/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/bg/
Translation: Pop OS/COSMIC Comp
2025-10-10 09:05:23 -06:00
Hosted Weblate
189d065220 i18n: translation updates from weblate
Co-authored-by: Guðmundur Erlingsson <gudmundure@gmail.com>
Co-authored-by: oddib <oddbjorn.mr@hotmail.no>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/is/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/nn/
Translation: Pop OS/COSMIC Comp
2025-10-09 07:11:18 +02:00
Hosted Weblate
de7a9d5667 i18n: translation updates from weblate
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Guðmundur Erlingsson <gudmundure@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Mattias Eriksson <snaggen@gmail.com>
Co-authored-by: Yago Raña Gayoso <yago.rana.gayoso@gmail.com>
Co-authored-by: mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Co-authored-by: oddib <oddbjorn.mr@hotmail.no>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/es/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ja/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ru/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/sv/
Translation: Pop OS/COSMIC Comp
2025-10-08 00:22:38 +02:00
therealmate
314a7367f7 chore: add Alt+F4 shortcut to close windows
Fixes https://github.com/pop-os/cosmic-comp/issues/1625
2025-10-07 17:06:43 +02:00
Hosted Weblate
67680cd701 i18n: translation updates from weblate
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Yago Raña Gayoso <yago.rana.gayoso@gmail.com>
Co-authored-by: mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/es/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ja/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ru/
Translation: Pop OS/COSMIC Comp
2025-10-07 17:06:03 +02:00
Ashley Wulber
3465ce7602 feat: corner radius for CosmicMapped 2025-10-03 20:11:16 +02:00
Ashley Wulber
228af1037a fix(corner-radius): error handling and cleanup 2025-10-03 20:11:16 +02:00
Ashley Wulber
bef8c53069 chore: cargo fmt 2025-10-03 20:11:16 +02:00
Ashley Wulber
be616e093f chore: cosmic-protocols patch 2025-10-03 20:11:16 +02:00
Ashley Wulber
2e3bb2d80e refactor(corner-radius): cleanup & add pre commit hooks 2025-10-03 20:11:16 +02:00
Ashley Wulber
819887e298 fix(corner-radius): post protocol errors 2025-10-03 20:11:16 +02:00
Ashley Wulber
242e465d42 fix(corner-radius): use cached state 2025-10-03 20:11:16 +02:00
Ashley Wulber
e476153086 fix(outline): pass the radii in the correct order for the shader 2025-10-03 20:11:16 +02:00
Ashley Wulber
2873d6b27e fix(corner-radius): properly handle no value, and use geometry 2025-10-03 20:11:16 +02:00
Ashley Wulber
6f93b8774d cleanup use statements 2025-10-03 20:11:16 +02:00
Ashley Wulber
2d9d83d3bd fix(corner-radius): guard against corner radius being too large 2025-10-03 20:11:16 +02:00
Ashley Wulber
f01ebf2f6f refactor(corner-radius): corner_radius method for CosmicSurface 2025-10-03 20:11:16 +02:00
Ashley Wulber
4e30513673 fix(corner-radius): force redraw after corner radius change 2025-10-03 20:11:16 +02:00
Ashley Wulber
ce655d2063 cleanup: corner-radius use statements 2025-10-03 20:11:16 +02:00
Ashley Wulber
8ddd14a54f cleanup: remove TODOs 2025-10-03 20:11:16 +02:00
Ashley Wulber
c6320eec0c fix: support per-corner radius
also adjusts the radius by half of the outline thickness. I believe this is the radius at the center of the outline.
2025-10-03 20:11:16 +02:00
Ashley Wulber
b3aa10436a feat: corner-radius protocol support 2025-10-03 20:11:16 +02:00
Gavin John
b232a4b24a Translated using Weblate (French)
Currently translated at 85.7% (24 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/fr/
2025-10-03 13:48:38 +02:00
oddib
138b2a0992 Translated using Weblate (Norwegian Bokmål)
Currently translated at 3.5% (1 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/nb_NO/
2025-10-03 13:48:38 +02:00
Aindriú Mac Giolla Eoin
bd2d61efe6 Translated using Weblate (Irish)
Currently translated at 100.0% (28 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/ga/
2025-10-03 13:48:38 +02:00
Hosted Weblate
44f4bdea09 i18n: translation updates from weblate
Co-authored-by: Dmytro <linkinwires@gmail.com>
Co-authored-by: Finnthecap <hoangnam2006hp@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Mattias Eriksson <snaggen@gmail.com>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: VandaL <vandalhj@gmail.com>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Co-authored-by: lorduskordus <lorduskordus@gmail.com>
Co-authored-by: twlvnn kraftwerk <kraft_werk@tutanota.com>
Co-authored-by: yakup <mt6360227@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/bg/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/cs/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/es/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/es_419/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/et/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/pl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/pt/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/sv/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/tr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/vi/
Translation: Pop OS/COSMIC Comp
2025-10-03 13:48:38 +02:00
Ian Douglas Scott
346f055fdc focus: Check if X11 surface matches in KeyboardFocus::replace()
Tested on `SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=1 supertux2`, using
XWayland. If the game starts with fullscreen configured, it minimizes
immediately on start. But after this change, this no longer happens.

This hopefully will improve behaviors with various X11/wine fullscreen
clients. It may fix
https://github.com/pop-os/cosmic-comp/issues/1510, though looking at the
video the behavior there may be a bit different.
2025-10-02 16:27:29 +02:00
Ian Douglas Scott
9e66bed9d6 focus: Split off an x11_surface() method from is_xwm() 2025-10-02 16:27:29 +02:00
Ian Douglas Scott
3c70263e0f screencopy: Without draw_cursor, omit dnd icon from toplevel capture
It seems https://github.com/pop-os/cosmic-comp/pull/1638 caused an issue
in cosmic-workspaces, where if there are multiple toplevels, when
dragging a toplevel, the drag surface would appear in capture for other
toplevels.

For now, omit drag surface in toplevel capture without `draw_cursor`.
Though I guess ultimately we do want it for metadata cursor capture in
the portal, but not in cosmic-workspaces? Maybe the protocol needs some
additional option for this...
2025-10-02 16:24:15 +02:00
twlvnn kraftwerk
d2f73a6d6c Added translation using Weblate (Bulgarian) 2025-10-01 11:42:14 +02:00
Priit Jõerüüt
98bf68411b Translated using Weblate (Estonian)
Currently translated at 39.2% (11 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/et/
2025-10-01 11:42:14 +02:00
Priit Jõerüüt
47eab97b6b Added translation using Weblate (Estonian) 2025-10-01 11:42:14 +02:00
Finnthecap
60541184e4 Translated using Weblate (Vietnamese)
Currently translated at 96.4% (27 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/vi/
2025-10-01 11:42:14 +02:00
yakup
6154586385 Translated using Weblate (Turkish)
Currently translated at 100.0% (28 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/tr/
2025-10-01 11:42:14 +02:00
Mattias Eriksson
2f2805c909 Translated using Weblate (Swedish)
Currently translated at 100.0% (28 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/sv/
2025-10-01 11:42:14 +02:00
VandaL
778fe5b81f Translated using Weblate (Polish)
Currently translated at 100.0% (28 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/pl/
2025-10-01 11:42:14 +02:00
lorduskordus
2b18b78ddb Translated using Weblate (Czech)
Currently translated at 100.0% (28 of 28 strings)

Translation: Pop OS/COSMIC Comp
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/cs/
2025-10-01 11:42:14 +02:00
Victoria Brekenfeld
f339e21479 floating: Keep elements positioned relatively on recalculate 2025-09-22 18:07:10 +02:00