Victoria Brekenfeld
e0d207fbe1
shell: Make element_for_(wl_)surface consider sticky windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
d503e44ca8
shell: refactor single visible_output
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
414cbfef2d
shell: Drop unused maximize mode
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
cf21d2689a
shell: Add new sticky_layer
2024-01-02 13:24:07 +01:00
Ian Douglas Scott
70bb9b9a2e
Initial wl_touch support
...
`builtin_output` is similar to `get_builtin_output_name` in Sway.
For full support, we need support for touch targets/grabs, touch support
for SSDs, and a way to configure what output is mapped to what input.
But this is usable for apps that support touch on a laptop with a
touchscreen.
2023-12-28 10:37:08 +01:00
Ian Douglas Scott
f70d33d3cb
Update Smithay; high-res scroll
2023-12-12 22:09:56 +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
58a024ba67
menu: Cleanup default items
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
1dfaef4874
stack: formatting cleanup
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
c90fff7177
shell: Fix rare animation glitch
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
e347076145
move_grab: End correctly when removed externally
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
131ab8fe9e
menu: Respect output bounds
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
6ac8fd2f90
tiling: Add explicit toggle_stacking/_focused
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
9ecfa8bfda
floating: Fix initial size for previously maximized
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
f6c28466e9
floating: Add toggle_stacking_(focused)
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
0147c328f9
workspace: Add toggle_stacking/toggle_stacking_focused
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
677f686afd
workspace: Add explicit toogle_floating_window_focused
...
`toggle_floating_window` -> `toggle_floating_window_focused`
and added `toggle_floating_window` to deal with explicitly provided
`CosmicMapped`.
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
1a399b0d04
shell: Add explicit move_current_window
...
`move_window` -> `move_current_window` and add
`move_window` to deal with passed CosmicMapped directly.
2023-12-12 18:39:41 +01:00
Ashley Wulber
048490d57e
fix: reset name and state for workspaces after moving them to a new group
2023-11-27 14:08:11 -05:00
Victoria Brekenfeld
c99126d2c7
shell: Don't advertise minimize/windowmenu capabilities
2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
c79c75eae7
tiling: Don't render popups for maximized elements
2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
ea14033d06
input: Fix stack overflow due to shortcut priorities
2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
ac77ab974a
stack: Fix X11 order
2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
ebd781b678
floating/resize: Fix local/global coordinate conversions
2023-11-23 12:57:42 +01:00
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
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
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
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
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
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
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
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
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