Victoria Brekenfeld
d4d51192b5
sec_context: Fix None drm_node
2023-12-20 09:56:31 +01:00
Ian Douglas Scott
6eb8b82440
Fix use of ImportNotifier
...
Somehow when updating to this API, I missed the call to `successful`.
This doesn't seem to make a difference for most clients since
`create_immed` is normally used. But should correct anything using
`create`.
2023-12-14 23:56:08 +01:00
Ian Douglas Scott
656996503c
workspace-management: Implement move_to_workspace request
...
Needed for `cosmic-workspaces`.
2023-12-12 21:39:34 +01:00
Victoria Brekenfeld
75990ff056
menu: Add stack tab specific menu
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
02a6290067
xdg-shell: Fix menu offset
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
8c4d77e43c
shell: Add window menu
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
edfb0edda7
grabs: Add ReleaseMode for menu-initiated grabs
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
41a69cfc9f
Update Smithay
...
For the `drm` protocol, we can't construct an `ImportNotifier`, since
that is specifically based around `ZwpLinuxBufferParamsv1`. So we need a
new method for importing with that protocol.
This could be improved, but should match current behavior.
2023-11-23 12:43:28 +01:00
Ashley Wulber
495d772a38
fix: set the workspace of the activated token's surface to urgent if not focusing it
2023-11-16 19:13:38 +01:00
Ian Douglas Scott
b33c1dc9f7
Schedule render when session lock is created/destroyed
2023-11-15 13:41:19 +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
Victoria Brekenfeld
14867a0893
xdg-activation: Switch stack focus
2023-11-14 19:43:06 +01:00
xDarksome
72ee1c4d5a
Enable wlr_data_control protocol ( #101 )
2023-11-13 21:47:43 +01:00
Victoria Brekenfeld
f7cc1985e3
xdg-activation: Initial implementation
2023-11-09 13:48:34 +01:00
Victoria Brekenfeld
9ced8c346d
shell: Each surface has only one workspace
2023-11-09 13:48:34 +01:00
Ian Douglas Scott
5fcdd81fc3
Enable necessary protocols for supporting IMEs
2023-11-07 10:26:22 -08:00
Ian Douglas Scott
9abeeea5df
Allow session lock if existing session lock is no longer valid
...
This makes it possible to handle a crash in the session lock client by
restarting it, for instance. This is similar to how Sway behaves.
2023-11-07 08:31:58 -08:00
Victoria Brekenfeld
f0d5ac1c8d
security_context: Inherit privileged-flag for panel
2023-11-06 18:35:47 +01: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
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
41998433c7
xdg-shell: Fix sub-popup positioning
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
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
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
4e12957169
chore: Update deps
2023-10-02 21:51:49 +02:00
Ian Douglas Scott
373af07319
Implement pointer constraints; update to send frame manually
2023-09-29 19:21:13 +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
4709a1d684
shell: Have Move-shortcut for floating layer and fullscreen windows
2023-09-20 18:57:58 +02:00
Victoria Brekenfeld
4e1c16c384
fullscreen: Use CosmicWindow for decorations
2023-09-18 18:51:21 +02:00
Victoria Brekenfeld
abf430f956
shell: Rework fullscreen/maximize
2023-09-14 19:41:36 +02:00
Ian Douglas Scott
8dce518ba6
Add security context protocol
...
Currently, excludes some protocols if they have any security context
associated.
2023-09-05 13:47:23 -07:00
Ian Douglas Scott
c68625ff78
Add pointer gestures support
2023-09-05 13:47:07 -07:00
Ian Douglas Scott
c3dddb9917
XWayland keyboard grab protocol
2023-08-09 14:21:06 -07:00
Victoria Brekenfeld
1a9f976818
xdg_shell: Trigger blocker evaluation on toplevel destruction
2023-08-01 16:49:29 +02:00
Victoria Brekenfeld
185e2fe3c8
chore: Update smithay
2023-07-31 19:12:33 +02:00
Victoria Brekenfeld
4ee2763139
chore: Formatting updates
2023-07-31 17:36:32 +02:00
Victoria Brekenfeld
1868f6b0f7
shell: Recalculate tiling-layer when layer-shell updates
2023-07-13 18:00:09 +02:00
Victoria Brekenfeld
a308997fd4
chore: Update smithay
2023-07-12 18:57:38 +02:00
Victoria Brekenfeld
bdcb803efa
chore: Update smithay
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
5884e287a5
stacking: Correctly restore decoration state
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
5dda8cfef5
surface: Restore previous decoration mode
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
7e3a96eb53
shell: refactor unnecessary bounds
2023-06-30 15:15:21 +02:00