Commit graph

412 commits

Author SHA1 Message Date
Victoria Brekenfeld
a8920f533e debug: Enable renderdoc without screencopy 2023-03-06 19:37:11 +01:00
Victoria Brekenfeld
d16b752030 chore: Update smithay 2023-03-06 19:37:11 +01:00
Victoria Brekenfeld
c787cbdbbd
Merge pull request #80 from pop-os/relative-pointer_jammy
Expose relative pointer global on the kms backend
2023-03-06 12:53:56 +01:00
Victoria Brekenfeld
094bd0df38
Merge pull request #83 from pop-os/qxl_jammy
kms: Use primary node if no render node is found
2023-03-06 12:50:32 +01:00
Ian Douglas Scott
5b950a9be7 kms: Use primary node if no render node is found
It seems this is all that's needed to make cosmic-comp run in a VM
without graphics acceleration.

Fixes https://github.com/pop-os/cosmic-comp/issues/62.
2023-03-03 12:22:14 -08:00
Victoria Brekenfeld
b1c7f68b6e
Merge pull request #81 from pop-os/systemd-feature_jammy
Add default `systemd` feature flag to enable systemd integration
2023-02-28 12:19:47 +01:00
Victoria Brekenfeld
869e28532f
Merge pull request #82 from pop-os/fix-log_jammy
fix(init_logger): Directive::from_str expects warn
2023-02-28 11:44:44 +01:00
Ashley Wulber
cffaf9ee30
fix(init_logger): Directive::from_str expects warn 2023-02-27 20:18:39 -05:00
Ian Douglas Scott
9fa8037809 Add default systemd feature flag to enable systemd integration
The `libsystemd` crate fails to build on FreeBSD and is presumably
undesirable on any non-systemd distros. At least at present it's easy to
make it optional.
2023-02-27 16:36:40 -08:00
Ian Douglas Scott
313bdd91b8 Expose relative pointer global on the kms backend 2023-02-27 13:54:49 -08:00
Victoria Brekenfeld
4890bfb029
Merge pull request #79 from pop-os/tracing-directive_jammy 2023-02-27 21:48:38 +01:00
Ian Douglas Scott
05104770ac Fix parse error in tracing directive 2023-02-27 12:15:31 -08:00
Victoria Brekenfeld
35de500c00 chore: update smithay + switch to tracing 2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
844ed552b9 smithay fixes 2023-02-24 17:42:20 +01:00
Victoria Brekenfeld
10c23e17f9 kms: Don't mark surface as pending, if rendering failed 2023-02-24 17:42:20 +01:00
Victoria Brekenfeld
7de441cab3
Merge pull request #77 from pop-os/workspaces-toggle-binding 2023-02-23 01:59:50 +01:00
Ian Douglas Scott
6e8d2e55a7 config: Add keybinding to show workspaces view 2023-02-22 14:52:28 -08:00
Ian Douglas Scott
6f1532781a
Merge pull request #69 from pop-os/exclude-workspace-overview_jammy
Exclude "workspace-overview" from workspace screencopy
2023-02-22 09:20:27 -08:00
Ian Douglas Scott
26a652f039 Exclude "cosmic-workspace-overview" from workspace screencopy 2023-02-21 15:16:10 -08:00
Victoria Brekenfeld
dead320252 shell: Fix floating and layer-shell popup positioning 2023-02-15 20:55:25 +01:00
Victoria Brekenfeld
5ba068ec82 kms: Fixup new backend initializtion 2023-02-14 23:15:58 +01:00
Victoria Brekenfeld
1a05121498 input: special case Focus/Move actions for fullscreen windows 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
173f2ae051 focus: Better retain fullscreen focus 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
45bd385d9c shell: Clear fullscreen on new window 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
386501f980 shell: better tiling check for popup constraining 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
05fadbbc85 input: Properly constrain top/left edge of outputs 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
8cafaa64cb debug: Better input state 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
f93258bd98 shell: Send frame callbacks to grabbed windows 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
4a9dfcead0 deps: Update smithay
Integrate new multigpu allocator code for gpu->gpu copies using the vulkan allocator.

Also integrates Xwayland clipboard sync.
2023-02-14 15:47:39 +01:00
Jeremy Soller
32762fb983
Merge pull request #67 from pop-os/debian-fix_jammy
Fixes for debian packaging
2023-02-02 15:20:27 -07:00
Ian Douglas Scott
59c935f07c Fixes for debian packaging
The `control` file is invalid without the newline before `Package:`, and
fails to build.

Generally, libraries shouldn't be listed under `Dependencies`. The -dev
versions should be listed under `Build-Dependencies`, and `shlibs`
automatically adds runtime dependencies based on the linked libraries
with the version of the library that was linked.

`libsystemd` also doesn't exist, the package is `libsystemd0`. But is
that actually needed? Looks like it's pulled in by `libseat1` and not
used directly. `libxcb1` shouldn't be needed, x11rb provides a Rust
implementation, and doesn't support integration with libxcb without the
`allow-unsafe-code` feature, which doesn't seem to be used here.

For things that are opened with `dlopen`, this doesn't apply, though it
would probably be best to avoid that for any hard dependency.
2023-02-02 12:19:29 -08:00
Victoria Brekenfeld
649b900833 iced: Fix zero-sized rendering 2023-02-01 19:28:27 +01:00
Victoria Brekenfeld
ddea419244 deps: Update smithay 2023-01-31 16:04:55 +01:00
Victoria Brekenfeld
f9b96af141 deps: Update smithay-egui to fix "debug" feature 2023-01-31 12:57:58 +01:00
Victoria Brekenfeld
21db472f8b deps: Update smithay & relative motion events 2023-01-30 23:19:36 +01:00
Victoria Brekenfeld
f54f367a0e debian: Update dependencies 2023-01-30 16:30:09 +01:00
Victoria Brekenfeld
bf95022244 debug: Add input states 2023-01-30 15:53:30 +01:00
Victoria Brekenfeld
be9a4db63e shell: Close layer-surfaces when removing outputs 2023-01-30 15:13:51 +01:00
Victoria Brekenfeld
d65e16fc94 shell: unmaximize windows before unmapping them 2023-01-27 20:05:07 +01:00
Victoria Brekenfeld
5d4afa5641 xwm: Simplify override-redirect handling 2023-01-27 19:51:23 +01:00
Victoria Brekenfeld
4ed3aceefc shell: Don't annouce toplevels before they have contents 2023-01-27 18:15:54 +01:00
Victoria Brekenfeld
5a8840b12e shell: Properly propagate tiling state 2023-01-27 13:26:28 +01:00
Victoria Brekenfeld
037a210c90 xwayland: Avoid propagating pressed keys 2023-01-26 21:24:50 +01:00
Victoria Brekenfeld
b3a91d54eb deps: Update smithay 2023-01-26 21:08:50 +01:00
Victoria Brekenfeld
3b5bf4a125 state: Send frame-callbacks to cursor surfaces 2023-01-26 21:08:00 +01:00
Victoria Brekenfeld
691988eed6 shell: Fix windows with SSD messing up input regions 2023-01-25 18:44:06 +01:00
Victoria Brekenfeld
7d4aabae6d kms: Fix tty-switching 2023-01-25 18:43:35 +01:00
Victoria Brekenfeld
34068d9514 shell/grabs: Fix resize geometry 2023-01-25 18:43:22 +01:00
Victoria Brekenfeld
1f3f1331ab debug: Fix compiling with CosmicSurface 2023-01-25 16:35:51 +01:00
Victoria Brekenfeld
e50bea33bb shell: Fix SSD when using scaling 2023-01-25 15:14:18 +01:00