Commit graph

440 commits

Author SHA1 Message Date
Victoria Brekenfeld
807291af19 chore: Update deps 2023-03-23 14:01:22 +01:00
Victoria Brekenfeld
c8bb417d9b kms: Dmabuf Feedback support 2023-03-23 13:51:33 +01:00
Victoria Brekenfeld
486266f7bb kms: Don't reschedule for high input rates 2023-03-23 11:29:51 +01:00
Victoria Brekenfeld
b2414a7972 deps: Update smithay 2023-03-16 19:46:37 +01:00
Victoria Brekenfeld
9ae225f7f7 kms: Fix restoring surfaces on vt switch 2023-03-16 18:48:18 +01:00
Victoria Brekenfeld
19f4b9d247
Merge pull request #91 from pop-os/global_workspaces_jammy
Fixes for rendering windows in `Global` workspace mode
2023-03-13 14:12:05 +01:00
Ian Douglas Scott
3804c67557 Fixes for rendering windows in Global workspace mode
* Render window and active indicator at correct position relative to
  where the output is within the space.
* Show active indicator around whole window, not only part of window on
  focused output.
2023-03-10 16:20:17 -08:00
Victoria Brekenfeld
8a188cb39e
Merge pull request #88 from pop-os/primary-scanout_jammy
Update primary scanout output when not visible on previous output
2023-03-10 19:32:49 +01:00
Ian Douglas Scott
93c9be9b32 Update primary scanout output when not visible on previous output
This seems to fix https://github.com/pop-os/cosmic-comp/issues/58.
Though in the future the default behavior in Smithay may need some
improvement.
2023-03-10 09:14:57 -08:00
Victoria Brekenfeld
dd9b01293b log: Calloop is very chatty 2023-03-09 19:24:00 +01:00
Victoria Brekenfeld
b53e5cae6e shell/tiling: Make gaps configurable 2023-03-09 19:13:46 +01:00
Victoria Brekenfeld
4bf2c8df79 shell: Make active hint size configurable 2023-03-09 19:13:45 +01:00
Victoria Brekenfeld
6492cfb96a
Merge pull request #87 from pop-os/floating-drag_jammy
shell: Fix position of floating windows before/after drag
2023-03-09 16:14:17 +01:00
Victoria Brekenfeld
d01148f0ee kms: Rely more on offscreen rendering than memory copies 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
5d173a46a6 shell: Fix missing titlebars 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
659933b039 xwm: Don't do multiple 2023-03-09 14:50:57 +01:00
Ian Douglas Scott
e8dcc22ad7 shell: Fix position of floating windows before/after drag
This fixes two issues that seem to have been introduced by 98dc342:

* During drag, CSD windows being offset from their original location and
  the frames rendered around them.
* Windows on additional monitors being positioned incorrectly when
  dragged.

This seems to work well in floating mode with `OutputBound` workspaces.
With `Global` workspaces it seems position of dragged windows on
additional monitors isn't right before or after this...
2023-03-08 15:40:29 -08:00
Victoria Brekenfeld
7caae686fe kms: Use DrmCompositor 2023-03-07 16:37:19 +01:00
Victoria Brekenfeld
ef894aebfc chore: Cargo.lock update 2023-03-06 19:40:50 +01:00
Victoria Brekenfeld
a099af394b shell: Refresh Title in SSD 2023-03-06 19:40:26 +01:00
Victoria Brekenfeld
a2d28ec7ba render: Just render indicator on active output 2023-03-06 19:40:26 +01:00
Victoria Brekenfeld
98dc342b50 shell: Show SSD when moving windows 2023-03-06 19:40:26 +01:00
Victoria Brekenfeld
caa0acc341 chore: Update libcosmic/iced 2023-03-06 19:40:24 +01:00
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
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