Commit graph

207 commits

Author SHA1 Message Date
Victoria Brekenfeld
c3ecbeee3b render: Fix OR window and sticky X11 windows stacking order 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
00a87e021b render: Handle sticky windows 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
8c4d77e43c shell: Add window menu 2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
996b5a8227 shell: Move space_for_handle into Workspaces 2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
c09a735289 state: Move Xwayland state into shell 2023-11-23 12:57:42 +01:00
Ian Douglas Scott
440cd03371 Handle session lock surfaces in visible_outputs_for_surface
Fixes issue with re-draw not being queued on initial surface commit
until cursor is moved.
2023-11-15 13:41:19 +01:00
Darksome
62b81347a7 nix: setup dev shell 2023-11-12 17:30:41 +04:00
Ian Douglas Scott
7e74d8db0b Fix build with debug feature 2023-10-31 09:01:08 -07:00
Ian Douglas Scott
81efd42dd5 Use cosmic-config for dynamic workspace settings
`WorkspaceAmount`, `WorkspaceMode`, and `WorkspaceLayout` can all be
changed dynamically now.
2023-10-27 12:36:40 -07:00
Ian Douglas Scott
f0277eabae Add ext-session-lock protocol 2023-10-27 09:01:25 -07:00
Ian Douglas Scott
b114865916 Update smithay 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
ba44289844 kms/deps: Fix nvidia 545 beta 2023-10-25 19:41:55 +02:00
Ian Douglas Scott
8561ab672b Update smithay 2023-10-25 19:41:55 +02:00
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
Victoria Brekenfeld
2e962366d4 kms: Handle subpixel layouts 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
Victoria Brekenfeld
7ecc970a5b wayland/kms: Add drm_lease implementation 2023-10-06 18:21:50 +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
Victoria Brekenfeld
4e12957169 chore: Update deps 2023-10-02 21:51:49 +02:00
Victoria Brekenfeld
4e1c16c384 fullscreen: Use CosmicWindow for decorations 2023-09-18 18:51:21 +02:00
Victoria Brekenfeld
da90d9bf78 render: Fullscreen/Maximize animation 2023-09-15 18:37:34 +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
Victoria Brekenfeld
e2ac5c0a23 tiling: Fix swap preview on different workspaces/outputs 2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
1251b7e9f7 shell/tiling: Implement window swap mode 2023-09-12 20:53:35 +02:00
Ian Douglas Scott
e7e9b768c8 Update Smithay, adjusting for API changes
The main changes are those related to pointer gestures. Which are a bit
verbose but not too difficult.
2023-09-05 13:46:48 -07:00
Ian Douglas Scott
0f5d654535 Use cosmic-config for input configuration; allow dynamic changes 2023-08-31 13:59:49 -07:00
Victoria Brekenfeld
380b00e083 render: Respect scale for indicator thickness 2023-08-31 18:17:37 +02:00
Victoria Brekenfeld
2bc9f94255 kms: Make sure to re-render after finished animation 2023-08-31 13:53:30 +02:00
Ian Douglas Scott
6b34edb077 Send SCANOUT flag in dmabuf feedback when target_node != render_node
The Intel driver (at least) pads the stride to meet the requirements for
scanout on AMD or Nvidia cards, when this flag is set.

This works around the bug I've seen in the Nvidia driver with corruption
importing an unaligned dmabuf. This presumably is an issue in the Nvidia
driver, but presumably it the fix would be for the import to fail, so
using a stride that allows it to succeed is better anyway.
2023-08-11 08:34:08 -07:00
Ian Douglas Scott
4a780cb343 Update smithay-egui and fix compilation of debug 2023-08-07 08:47:51 -07:00
Victoria Brekenfeld
185e2fe3c8 chore: Update smithay 2023-07-31 19:12:33 +02:00
Victoria Brekenfeld
37c530c691 moving: Add stacking indicator 2023-07-24 19:31:31 +02:00
Victoria Brekenfeld
88d8972d34 moving: Grab use correct cursor 2023-07-18 12:21:16 +02:00
Victoria Brekenfeld
a8a5ee466a shell: Generalize move grab 2023-07-17 21:11:23 +02:00
Victoria Brekenfeld
cb135d7304 shell: Fix rendering top-layer surfaces 2023-07-14 13:01:01 +02:00
Victoria Brekenfeld
a9489b50c5 kms: Don't panic, if mode can't be updated 2023-07-13 17:22:57 +02:00
Victoria Brekenfeld
c7d4fa5d53 shell: Fix render order regarding popups 2023-07-13 17:19:29 +02:00
Victoria Brekenfeld
a308997fd4 chore: Update smithay 2023-07-12 18:57:38 +02:00
Victoria Brekenfeld
4ee5aaf741 deps: Replace cosmic-time with keyframe 2023-07-12 18:57:38 +02:00
Victoria Brekenfeld
b818a68a91 tiling: Properly handle resizing using a ptr device 2023-07-11 16:33:23 +02:00
Victoria Brekenfeld
235248d445 kms: Add key repetition for shortcuts 2023-07-07 17:46:10 +02:00