Commit graph

194 commits

Author SHA1 Message Date
Victoria Brekenfeld
2d0f1cbf2b chore: smithay update 2024-07-02 13:15:30 +02:00
Michael Aaron Murphy
553c49b42b feat: runtime configurable keybindings 2024-07-01 15:20:23 +02:00
Victoria Brekenfeld
713ac470aa chore: Update smithay 2024-06-27 21:07:29 +02:00
Victoria Brekenfeld
5617f3228b chore: Update smithay 2024-06-27 16:51:36 +02:00
Victoria Brekenfeld
c27127e44c chore: Update smithay 2024-06-27 12:37:21 +02:00
Victoria Brekenfeld
9cd553e128 chore: Update libcosmic 2024-06-26 16:36:21 +02:00
Victoria Brekenfeld
76fca0c591 chore: Fix smithay version 2024-06-26 16:18:08 +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
e78e199663 chore: Update smithay for thread-safety 2024-06-26 12:59:33 +02: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
Ian Douglas Scott
036ca84829 Add alpha-modifier-v1 protocol 2024-06-10 14:31:51 +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
16cce7c97a chore: cargo update 2024-05-30 23:05:34 +02: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
Ian Douglas Scott
4f076e0753 Update smithay, with xwayland shell, Cow, etc. 2024-05-21 19:31:50 +02:00
Ian Douglas Scott
dfb3bea595 Disable Smithay use_system_lib to use Rust backend to wayland-rs
It seems this was needed for `renderer.bind_wl_display`. But only in the
X11 and winit backends. Unless there's some less obvious reason to use
the `use_system_lib` feature, it seems undesirable and avoidable.

This uses `WlDrmState` to provide `wl_drm` on those backends instead.
2024-05-15 13:12:24 +02:00
Ian Douglas Scott
73b12194c0 Update smithay 2024-05-10 13:51:28 +02:00
Victoria Brekenfeld
5f4377bf59 wayland: Add cosmic-output-management 2024-05-07 12:25:15 +02:00
Ian Douglas Scott
5e61ce1ff8 Enable smithay/renderer_pixman feature
This enables support for using Pixman for cursor planes.
2024-04-17 12:01:25 +02:00
Ian Douglas Scott
17ddc7ce24 Update smithay
Updates for changes in https://github.com/Smithay/smithay/pull/1391.
2024-04-17 11:59:13 +02:00
Ian Douglas Scott
1216cd0b67 Add unset method to input grab traits
Fixes https://github.com/pop-os/cosmic-comp/issues/403.
2024-04-15 18:53:09 +02:00
Ian Douglas Scott
de544e1d31 Update smithay to latest commit 2024-04-09 11:26:36 +02:00
Victoria Brekenfeld
6ba7242cfc main: Increase soft file limit 2024-04-05 13:49:36 +02:00
Victoria Brekenfeld
e287af1f84 chore: Update smithay 2024-04-02 16:07:41 +02:00
Victoria Brekenfeld
cf75bc1952 chore: Update smithay/libcosmic 2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
b40d153809 cosmic-screencopy-v2 2024-03-25 16:55:31 +01:00
Ian Douglas Scott
39ebf39e4f Update libcosmic/iced 2024-03-22 21:54:45 +01:00
Victoria Brekenfeld
d341cb8b86 debug: Drop puffin integration 2024-03-21 17:49:06 +01:00
Ian Douglas Scott
a1c8b3aa3e Add support for profiling using tracy 2024-03-20 23:55:21 +01:00
Victoria Brekenfeld
e83796680f chore: Update smithay 2024-02-24 06:22:39 +01:00
Ian Douglas Scott
3036448c19 Update Smithay, with Window that supports X11 surfaces 2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
83ec68d383 chore: Update smithay 2024-02-19 13:09:49 +01:00
Ian Douglas Scott
b8e5dbea8f Advertise version 2 of zcosmic_workspace_manager_v1 global 2024-02-07 21:40:23 +01:00
Victoria Brekenfeld
54f2d2c67e chore: Update smithay 2024-02-06 15:31:01 +01:00
Ron Waldon-Howe
f7b062aa81 fix: cargo update to target available cosmic-text commit 2024-01-22 13:58:32 +01:00
Ian Douglas Scott
e569e14a99 Update to latest libcosmic/iced 2024-01-18 20:27:51 +01:00
Victoria Brekenfeld
44bf1c316f chore: Update smithay 2024-01-16 17:30:46 +00:00
Ian Douglas Scott
b2b718dbea Update smithay 2024-01-08 12:43:41 +01:00
Ian Douglas Scott
ad3a917151 Update Smithay 2023-12-22 01:28:11 +01:00
Ian Douglas Scott
aa9ec52e62 cosmic: Provide CosmicConfigEntry impl, use _ in property names
It seems to derive `CosmicConfigEntry`, we need to use `_` in property
names, because `_` isn't mapped to `-` and there doesn't seem to be a
mechanism like `#[serde(rename)]`.

It seems good to be consistent anyway. So this seems good to change,
unless we really like using `-` for names on disk, then cosmic-panel
needs to be changed.

`CosmicConfigEntry` also requires `PartialEq`, which is easy enough to
add.

This will break existing input settings, which will have to be
re-applied with the new locations. Cosmic-settings also need to be
updated for this.
2023-12-21 09:48:16 +01:00
Ian Douglas Scott
f70d33d3cb Update Smithay; high-res scroll 2023-12-12 22:09:56 +01:00
Ian Douglas Scott
656996503c workspace-management: Implement move_to_workspace request
Needed for `cosmic-workspaces`.
2023-12-12 21:39:34 +01:00
Victoria Brekenfeld
8c4d77e43c shell: Add window menu 2023-12-12 18:39:41 +01:00
Ian Douglas Scott
41a69cfc9f Update Smithay
For the `drm` protocol, we can't construct an `ImportNotifier`, since
that is specifically based around `ZwpLinuxBufferParamsv1`. So we need a
new method for importing with that protocol.

This could be improved, but should match current behavior.
2023-11-23 12:43:28 +01:00
Victoria Brekenfeld
f7cc1985e3 xdg-activation: Initial implementation 2023-11-09 13:48:34 +01:00
Victoria Brekenfeld
afffcce548 deps: chore update smithay 2023-11-06 18:35:14 +01:00