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
Victoria Brekenfeld
3dee249558
shell: Add keybindings to migrate workspaces
2023-11-21 13:09:38 +01:00
Victoria Brekenfeld
1a2d9159d7
shell: Add helper for merging workspaces
2023-11-21 13:09:38 +01:00
Victoria Brekenfeld
248ced83db
shell: Add helper for moving workspaces
2023-11-21 13:09:38 +01:00
Victoria Brekenfeld
b6cb945406
shell: Try to migrate workspaces back to their original outputs
2023-11-21 13:09:38 +01:00
Victoria Brekenfeld
18a8692517
input: Displays take precendence over workspaces
2023-11-20 16:51:15 +01:00
Victoria Brekenfeld
59581f717f
input: Take into account output layout
2023-11-20 16:51:15 +01:00
Victoria Brekenfeld
92c16bd4ad
floating: Transition via maximized state
2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
90bf3b5668
floating: New reference windows outside
2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
cf5b21f437
floating: Animate tiling state changes
2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
2d15fb9766
floating: Handle tiling shortcuts
2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
d09abc4728
floating: New window spawn positions
2023-11-16 19:21:02 +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
Darksome
62b81347a7
nix: setup dev shell
2023-11-12 17:30:41 +04: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
Victoria Brekenfeld
32efedc7e1
utils/iced: Don't log noisy theme
2023-11-09 13:48:33 +01:00
Victoria Brekenfeld
542fe1f52d
state: fix privileged access with sec context
2023-11-08 14:50:54 +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
f7759a765b
Merge pull request #208 from pop-os/panel-sec-context_jammy
...
wayland: Privileged protocol security
2023-11-07 16:01:00 +01:00
Victoria Brekenfeld
957615442b
wayland: Add (currently optional) privileged filtering
2023-11-07 12:28:29 +01:00
Victoria Brekenfeld
f0d5ac1c8d
security_context: Inherit privileged-flag for panel
2023-11-06 18:35:47 +01:00
Ian Douglas Scott
3bec008d3a
Fix handling of layer shell surface with exclusive interactivity
...
This should now match the protocol specification, and how Sway behaves.
If a surface in the `Top` or `Overlay` has
`KeyboardInteractivity::Exclusive`, only that surface can have keyboard
focus. If multiple surfaces do, focus can be changed between those with
keyboard exclusivity on the highest layer.
This is similar to session lock surfaces, except a session lock takes
precedence.
This fixes the behavior of keyboard focus in `cosmic-greeter`, with the
current layer-shell based implementation.
2023-11-02 12:49:03 -07: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
Victoria Brekenfeld
a9573939a4
tiling/resize: Use old tree for correct ratios
2023-10-26 18:22:10 +02:00
Victoria Brekenfeld
33688e9bcf
tiling: Fix rounding error causing overlap
2023-10-26 15:10:32 +02:00
Victoria Brekenfeld
1d799f4fa8
shell: Fix dragging maximized windows on non-origin outputs
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
33ee25c274
shell: Don't be too pendantic about workspace groups
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
4f076f73d9
xwm: Fix stacking order
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
ffb7bcfc91
shell: Don't crash when the last output is removed
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
781427a74c
focus: Restore nested popup grabs
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
724a4170df
shell: Fix moving fullscreen windows
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
3901e637b0
floating: Don't render hint for maximized window
2023-10-25 19:41:55 +02:00
Ian Douglas Scott
b114865916
Update smithay
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
5b7efa3a8b
floating: Restore size of moved maximized windows correctly
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
d6434d322e
floating: Limit resizing to current output
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
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