Ashley Wulber
d9e3d60a37
refactor: use a static color for CLEAR_COLOR
2023-10-25 19:41:55 +02:00
Ashley Wulber
abbe94e6e1
feat: theme integration
...
refactor: only apply updates if there is a change in the theme
refactor: include theme in state
cleanup: theme integration
2023-10-25 19:41:55 +02:00
Michael Aaron Murphy
c16b86d1bf
fix(shell): lagging tab animations
...
Fixes lagging tab animations by discarding the expired animations.
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
41998433c7
xdg-shell: Fix sub-popup positioning
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
ab522dc4ca
workspace: potential crash fix
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
64143e75e7
shell: Properly handle fullscreen outputs
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
aec8263e1b
move: Render translucent on non-active output
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
2e962366d4
kms: Handle subpixel layouts
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
14ef57fa93
shell: Add update_config and fix workspace groups
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
69563420fb
shell: Rework maximize/fullscreen
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
72df9d07e6
shell: One workspace per output
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
42aaafe586
utils: New geometry spaces local/global
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
02d818bfee
don't fail when encountering render-only devices
2023-10-17 16:40:24 +02:00
Victoria Brekenfeld
806e10fcd9
Merge pull request #191 from pop-os/drm-lease_jammy
...
wayland/kms: Add drm_lease implementation
2023-10-11 22:42:42 +02:00
Ian Douglas Scott
111eb4edf4
Update smithay, with cursor/selection changes
...
We'll probably want to add support for `cursor-shape-v1`. Not sure about
`wlr-data-control-unstable-v1`. But this just updates to work with the
latest smithay commit for new.
2023-10-10 13:32:41 -07:00
PixelDots
12067d8b30
Fix windows resizing after being moved
...
revert `457b000e68 `
2023-10-06 11:34:14 -05:00
Victoria Brekenfeld
7ecc970a5b
wayland/kms: Add drm_lease implementation
2023-10-06 18:21:50 +02:00
PixelDots
457b000e68
Fix windows resizing after being moved
2023-10-06 09:35:13 -05:00
Victoria Brekenfeld
57b51d9a18
session: Validate file descriptors send by cosmic-session
2023-10-05 21:50:58 +02:00
Victoria Brekenfeld
f2b0be8ec5
kms: Add a couple of trace messages to render scheduling
2023-10-05 21:37:51 +02:00
Victoria Brekenfeld
4da092e132
kms: Clear render-timer token
2023-10-05 21:37:34 +02:00
Ian Douglas Scott
98755c1695
Update smithay-egui, egui, puffin
2023-10-03 18:48:31 -07:00
Victoria Brekenfeld
2a0b1cf7e9
chore: Update libcosmic
2023-10-02 21:51:51 +02:00
Victoria Brekenfeld
4e12957169
chore: Update deps
2023-10-02 21:51:49 +02:00
PixelDots
c60f7071bb
deserialize string or default to none for config.ron
...
Cleanup config.ron
2023-10-02 13:03:40 -05:00
PixelDots
37fb26a403
Added Modifier-only keybinding support
2023-09-30 08:44:04 -05:00
Ian Douglas Scott
373af07319
Implement pointer constraints; update to send frame manually
2023-09-29 19:21:13 +02:00
Jeremy Soller
aac2c31a38
Fix NextOutput and PreviousOutput when Shell::activate returns None
2023-09-28 13:21:44 -06:00
Victoria Brekenfeld
db3e372b8f
chore: Update smithay/smithay-egui
2023-09-21 18:21:20 +02:00
Victoria Brekenfeld
ef361ae932
Merge pull request #176 from alyssais/geometry
...
wayland: map windows with correct geometry
2023-09-21 17:46:20 +02:00
Alyssa Ross
40eb78debf
wayland: map windows with correct geometry
...
Consider a simple client that doesn't use set_window_geometry,
committing after attaching a buffer to a window surface.
Window::geometry falls back to Window::bbox, but when
Shell::map_window called Window::geometry, Window::bbox hadn't been
set yet, because that only happened later in
<State as CompositorHandler>::commit, so the window would be mapped
with a size of (0, 0).
This resulted in server-side decorations not being drawn for such
clients until they were re-focused or resized.
The fix is to add an extra call to Window::on_commit() before mapping
it, so that its bbox is set correctly when Shell::map_window asks for
its geometry.
2023-09-21 14:39:45 +00:00
Victoria Brekenfeld
747a24199a
shell: Put toplevel on new workspace, when removing Outputs
2023-09-21 12:38:33 +02:00
Victoria Brekenfeld
de83185af9
focus: Don't sort children behind their parents
2023-09-20 19:20:35 +02:00
Victoria Brekenfeld
4709a1d684
shell: Have Move-shortcut for floating layer and fullscreen windows
2023-09-20 18:57:58 +02:00
Victoria Brekenfeld
3d10ca6105
shell: Handle focus shortcuts for floating layer
2023-09-20 16:30:37 +02:00
Victoria Brekenfeld
63c073e3e5
shell: Don't draw focus indicator during fullscreen animation
2023-09-20 14:56:18 +02:00
Victoria Brekenfeld
4e1c16c384
fullscreen: Use CosmicWindow for decorations
2023-09-18 18:51:21 +02:00
Victoria Brekenfeld
098dd1e37d
decorations: Don't round edges when maximized
2023-09-18 18:29:55 +02:00
Victoria Brekenfeld
da90d9bf78
render: Fullscreen/Maximize animation
2023-09-15 18:37:34 +02:00
Victoria Brekenfeld
5cebc7b97d
tiling: Fix rendering single-stack window on empty workspace
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
2a79221ff4
tiling: Fix moving single stack surfaces
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
973b360514
tiling: Fix stack indicator rendering
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
19d5ed92f4
shell: Don't remove workspaces during animations
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
abd27e6aab
shell: Fix group backdrop on swap
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
abf430f956
shell: Rework fullscreen/maximize
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
003263b94e
render: Don't treat dnd surface as egliable for scanout on cursor plane
2023-09-14 14:44:54 +02:00
Ian Douglas Scott
e1fc182c3e
Update Smithay
2023-09-13 20:24:11 -07:00
Ian Douglas Scott
5df26c2317
Fix TilingLayout::element_under position with global workspaces
...
I didn't see any issue with how mouse events were handled, but a bisect
showed b818a68a91 caused the issue.
Reverting the definition of `element_under` to the version before that
change fixed the behavior.
Comparing what both versions return, the right element is returned, but
the location returned is wrong. This makes the return value match the
position that was returned by the previous implementation. It seems to
be working correctly now.
Fixes https://github.com/pop-os/cosmic-comp/issues/161 .
2023-09-13 14:26:52 -07:00
Victoria Brekenfeld
82c7d65049
tiling: Only render swap-preview on active output
2023-09-13 12:51:41 +02:00
Victoria Brekenfeld
a5b10f5d4a
tiling: Fix swap-focus always selecting whole stacks
2023-09-12 20:53:35 +02:00