Commit graph

28 commits

Author SHA1 Message Date
Yureka
9b78a2d780 refactor(shell/element): refactor how decorations height is accessed
This fixes several things:
- The xwayland code previously incorrectly used the SSD_HEIGHT (for Windows) even when the X11 surface was in a stack
- The SSD_HEIGHT was defined in surface.rs, even though rendering serverside decorations is done in the window/stack

Rename (min|max)_size to (min|max)_size_without_ssd in CosmicSurface and make it act accordingly
Add a new (min|max)_size() in CosmicWindow and CosmicStack, which takes the surface's (min|max)_size and adds the decorations.
Change all callers to use (min|max)_size() from the window or stack respectively, except is_dialog() where it does not matter.
2024-12-28 15:32:03 +01:00
Ian Douglas Scott
01d78689b5 Run cargo fmt 2024-09-19 16:23:25 +02:00
Richard Weber
bd95340992 Apply suggestions from code review
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
2024-09-04 20:50:42 +02:00
Richard Weber
5482ff65e5 Add config reloading for tiling exceptions 2024-09-04 20:50:42 +02:00
Richard Weber
5fe9ba29eb Use new config from cosmic-settings-config 2024-09-04 20:50:42 +02:00
Richard Weber
ec86fc33e0 Add error handling for configuration conversion to regex rules 2024-09-04 20:50:42 +02:00
Richard Weber
e8947b8742 Move tiling exceptions to configuration file 2024-09-04 20:50:42 +02:00
Richard Weber
bad8837d19 Add wl-clipboard to tiling exceptions 2024-08-14 11:05:58 -06:00
Michael Aaron Murphy
553c49b42b feat: runtime configurable keybindings 2024-07-01 15:20:23 +02:00
Ian Douglas Scott
3036448c19 Update Smithay, with Window that supports X11 surfaces 2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
835dbe45f3 shell: Unify mapping windows into stacks logic 2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
9b1221edc5 xwm: More fixes 2023-01-23 18:25:01 +01:00
Victoria Brekenfeld
7992ad67f6 update smithay, iced; reworked window for xwayland 2023-01-16 15:37:54 +01:00
Victoria Brekenfeld
0c47631d9b shell/tiling: Add option to toggle orientation 2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
00f1b029da wip: New shell logic 2022-11-23 16:08:32 +01:00
Ian Douglas Scott
7b670afc36 Update smithay and wayland-rs
Includes updates for split between `smithay::wayland::output` and
`smithay::output`.
2022-09-09 20:00:00 -07:00
Victoria Brekenfeld
6690e13d54 deps: Update smithay 2022-08-31 13:01:23 +02:00
Victoria Brekenfeld
f65a59aae2 layout: Add floating exceptions from pop-shell 2022-07-06 23:36:25 +02:00
Victoria Brekenfeld
39de286d51 cargo fmt 2022-07-04 16:01:06 +02:00
Victoria Brekenfeld
b126dfaf77 shell: Cleanup and don't abstract over layouts anymore 2022-07-04 16:01:06 +02:00
Victoria Brekenfeld
ec861fadd4 shell: load/update output configuration 2022-04-05 16:36:45 +02:00
Victoria Brekenfeld
3bc58ec02a tiling: Don't store trees for outputs, but for indices 2022-03-31 13:44:16 +02:00
Victoria Brekenfeld
69c71179d4 input: Implement focus switched on tiling layout 2022-03-31 00:00:43 +02:00
Victoria Brekenfeld
f7ac9654d1 input: Move windows between workspaces 2022-03-30 23:59:04 +02:00
Victoria Brekenfeld
d132722bd0 tiling: Better heuristic 2022-03-30 23:59:04 +02:00
Victoria Brekenfeld
b3ff2a7ca3 tiling: Allow orientation of active container to be swapped 2022-03-30 23:58:44 +02:00
Victoria Brekenfeld
936356b312 tiling: fix workspaces 2022-03-30 23:56:53 +02:00
Victoria Brekenfeld
4796832521 Groundwork for tiling layout 2022-03-30 23:56:53 +02:00