Commit graph

345 commits

Author SHA1 Message Date
Victoria Brekenfeld
1c62d6d061 debug: Add actual profiling for rendeirng 2023-03-06 19:39:08 +01:00
Victoria Brekenfeld
26743d6bdc debug: Add profiler view 2023-03-06 19:38:13 +01:00
Victoria Brekenfeld
d2b049332c iced: Don't force an update for every mouse update on resize 2023-03-06 19:38:13 +01:00
Victoria Brekenfeld
3f462e3eb7 tracing: Use don't log on hot paths without trace-level 2023-03-06 19:38:12 +01:00
Victoria Brekenfeld
9b416b5779 render: Add focus indicator 2023-03-06 19:37:11 +01:00
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
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
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
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
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
Victoria Brekenfeld
649b900833 iced: Fix zero-sized rendering 2023-02-01 19:28:27 +01:00
Victoria Brekenfeld
21db472f8b deps: Update smithay & relative motion events 2023-01-30 23:19:36 +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
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
Victoria Brekenfeld
0090122ffe shell: Don't use output-relative coords for windwo geometry 2023-01-25 14:09:44 +01:00
Victoria Brekenfeld
4940d0823d xwayland: Fix display env variable race 2023-01-25 13:20:17 +01:00
Victoria Brekenfeld
7704f65d02 kms: Don't remove outputs from shell, before reading config 2023-01-24 21:13:55 +01:00
Victoria Brekenfeld
58f196d638 shell: Handle removed output state better 2023-01-24 21:01:11 +01:00
Victoria Brekenfeld
e7be9d6abf xwayland: kms fixes 2023-01-24 19:35:37 +01:00
Victoria Brekenfeld
5b644b59f7 input: Add SendToWorkspace action 2023-01-24 19:22:00 +01:00