Commit graph

791 commits

Author SHA1 Message Date
Victoria Brekenfeld
8da782df67 shell: Raise X11 surfaces on workspace activate 2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
37623f063f element: Don't send configure for X11 surfaces 2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
daf7437c8b xwayland: Unconditionally send ConfigureNotify on configure_request 2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
a371571d11 debug: Show x11 geometry per window 2023-11-23 12:57:42 +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
2ffb8068b8 chore: update the config to spawn launcher, app-library, and workspaces when shortcuts are pressed 2023-11-21 19:26:20 -05: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
Victoria Brekenfeld
a0aa8fb8b2
fix: Add data_control to config file 2023-11-14 12:24:16 +01:00
xDarksome
72ee1c4d5a
Enable wlr_data_control protocol (#101) 2023-11-13 21:47:43 +01:00
Victoria Brekenfeld
d051d14197
Merge pull request #222 from xDarksome/nix-dev-shell
nix: setup dev shell
2023-11-13 14:11:59 +01:00
Darksome
62b81347a7 nix: setup dev shell 2023-11-12 17:30:41 +04:00
Victoria Brekenfeld
9a04fa2abd
Merge pull request #207 from pop-os/xdg-activation_jammy
xdg-activation: Initial implementation
2023-11-09 15:27:27 +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
Victoria Brekenfeld
32efedc7e1 utils/iced: Don't log noisy theme 2023-11-09 13:48:33 +01:00
Victoria Brekenfeld
fe7bbeb17a
Merge pull request #218 from pop-os/fix/privileged_without_sec 2023-11-08 15:11:17 +01:00
Victoria Brekenfeld
542fe1f52d state: fix privileged access with sec context 2023-11-08 14:50:54 +01:00
Victoria Brekenfeld
bdaec558e0
Merge pull request #122 from pop-os/ime
Enable necessary protocols for supporting IMEs
2023-11-08 13:02:53 +01:00
Ian Douglas Scott
5fcdd81fc3 Enable necessary protocols for supporting IMEs 2023-11-07 10:26:22 -08:00
Victoria Brekenfeld
18067def18
Merge pull request #205 from pop-os/check-session-lock-valid_jammy
Allow session lock if existing session lock is no longer valid
2023-11-07 18:34:18 +01: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
Victoria Brekenfeld
afffcce548 deps: chore update smithay 2023-11-06 18:35:14 +01:00
Jeremy Soller
f3a8ff8600
Merge pull request #212 from pop-os/exclusive-keyboard_jammy
Fix handling of layer shell surface with exclusive interactivity
2023-11-02 16:44:04 -06: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
Victoria Brekenfeld
a8632f56ab
Merge pull request #210 from pop-os/debug_jammy
Fix build with `debug` feature
2023-11-01 12:30:49 +01:00
Ian Douglas Scott
7e74d8db0b Fix build with debug feature 2023-10-31 09:01:08 -07:00
Victoria Brekenfeld
809eeafa6d
Merge pull request #165 from pop-os/workspace-config_jammy
Use cosmic-config for workspace settings
2023-10-30 18:49:23 +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
Victoria Brekenfeld
25f5edd6cf
Merge pull request #203 from pop-os/session-lock_jammy
Add `ext-session-lock` protocol
2023-10-27 18:34:58 +02:00
Ian Douglas Scott
f0277eabae Add ext-session-lock protocol 2023-10-27 09:01:25 -07:00
Victoria Brekenfeld
7300e23ce8
Merge pull request #194 from pop-os/ws-refactor_jammy
Overhaul of workspace code
2023-10-26 19:25:26 +02:00