Commit graph

178 commits

Author SHA1 Message Date
Victoria Brekenfeld
97a13ea515 shell: Lift/Refactor (interactive) resize to consider sticky windows 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
a333753c96 shell: Lift toggle_stacking(_focused) to handle sticky windows 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
807f63bb72 shell: Lift/refactor (un)maximize, consider sticky windows 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
e67e139e15 focus: Allow sticky windows in focus_stacks, allow dialogs to stay on top 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
10c196a080 shell: Lift recalculate to consider sticky_layer 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
769b7d6996 shell: Refactor move_request, consider sticky windows 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
775e0ccbdc input: Simplify surface_under / lift element_under 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
5681447508 shell: Consider sticky_layer animation state 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
c50607afd5 input: Add unbound shortcut to toggle sticky state 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
d2e394b957 menu: Allow toggling sticky state 2024-01-02 13:24:07 +01:00
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
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
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
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
f6c28466e9 floating: Add toggle_stacking_(focused) 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
8da782df67 shell: Raise X11 surfaces on workspace activate 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
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
957615442b wayland: Add (currently optional) privileged filtering 2023-11-07 12:28:29 +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
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
724a4170df shell: Fix moving fullscreen windows 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
64143e75e7 shell: Properly handle fullscreen outputs 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
14ef57fa93 shell: Add update_config and fix workspace groups 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
4e12957169 chore: Update deps 2023-10-02 21:51:49 +02:00