ArijanJ
d31a90edb0
Redraw cursor if hidden during screenshot
2025-10-18 08:02:26 +03:00
Ivan Molodetskikh
ada6e844ba
tty: Retry adding device on change
...
On my laptop, sometimes the initial addition of the dGPU fails for some
reason.
2025-10-17 18:03:21 +03:00
Ivan Molodetskikh
b38df2d1c8
tty: Improve debug messages
2025-10-17 17:33:27 +03:00
Ivan Molodetskikh
536204fd82
layout: Make resizing actions unmaximize
...
I feel this is more intuitive compared to them doing nothing. True
maximize is kinda similar to full-width in spirit, so make the actions
behave the same.
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
e1fad994da
Implement maximize-to-edges (true Wayland maximize)
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
e5d4e7c1b1
layout/monitor: Make between-workspace insert hint narrower
...
I've got feedback that full-width hint looks like the window will be
maximized on the new workspace.
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
e420bb5ad7
layout/tile: Fade out border for fullscreen
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
4cb4d0fa92
layout/tile: Fade out shadow for fullscreen
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
1cede8922f
layout/tile: Fade out focus ring for fullscreen
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
80c22b805e
layout: Fix anim jump when releasing interactive move in the overview
...
Probably the tile window loc wasn't zoomed when it should. But also the
interactive move grab case doesn't consider the window loc at all, which
seems to work ok, so let's do that until a problem is found with it.
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
ad3847fad9
layout: Unfullscreen before removing for interactive move
...
Several reasons for this:
- Remove the sizing code from interactive move duplicated with
toggle_window_floating.
- Make the tiled size restore too instead of requesting 0x0 (which
doesn't work for windows in the Tiled state).
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
9bd860b393
Extract with_toplevel_last_uncommitted_configure()
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
dd1ec83afa
tests/floating: Add more edge cases
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh
5ad3d661f0
tests/floating: Extract set_up_with_config()
2025-10-15 09:04:16 +03:00
Szybet
03c564736a
Support calibration-matrix in touch input config
2025-10-02 10:27:09 +03:00
Shaun Ren
5c91e3191d
tty: Add support for disabling DRM devices
2025-10-02 10:02:16 +03:00
Shaun Ren
b7f1e382a2
tty: Close DRM device session fd in device_removed()
...
Same logic as in cosmic-comp.
2025-10-02 10:02:16 +03:00
Ivan Molodetskikh
31f9577df9
config: Add merging for Animations
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh
2eabc22b38
config: Add merging for Gestures
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh
2de34e8798
config: Add merging for misc sections
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh
0673260249
utils/watcher: Support config includes
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh
0a33dca5fd
utils/watcher: Extract Props
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh
b3ae3adbb7
Partially implement config includes
...
Subsequent commits will add merging for all leftover sections.
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh
f975672255
Add layout overrides to window_opening test
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
67ca2cb06c
layout: Move scrolling width resolution to workspace
...
This is required now with per-output and per-workspace options.
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
9ff1c90fa6
layout/monitor: Fix wrong Clone/Copy generic bounds
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
09cf8402c3
Add per-output layout config
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
a5e285865b
Move background rendering to Workspace
...
Per-output background-color doesn't work yet.
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
d5f4e79e4c
Add per-workspace layout config
...
Per-workspace background-color doesn't work yet.
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
d015c7e55b
layout: Extract Monitor::append_workspaces()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
1465cd4139
layout: Move empty workspace handling to Monitor::new()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
7fc544b9d6
layout: Extract Monitor::into_workspaces()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
36dc5c6e8e
layout: Deduplicate move_workspace_to_output()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
ea3bbea6bd
layout: Extract Monitor::insert_workspace()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
3b4cf1ec8f
layout: Extract Monitor::remove_workspace_by_idx()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
1484175408
layout: Remove unname_workspace() clean-up to Monitor
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
8c3345807a
layout: Extract Monitor::verify_invariants()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
c353a7dae9
layout: Extract Layout::monitors{,_mut}()
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
e3068cd483
layout/tests: Make UpdateConfig an actual Op
...
We can do it now that it's non-Copy. This also fixes a new stack
overflow when running the random test in debug mode (which somehow
occurs even though it's skipped in debug mode) that appeared after
adding LayoutPart for some unbeknownst to me reason.
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
6aa8146c32
layout/tests: Generate LayoutPart instead of Layout config
...
Necessary for future changes, also produces much shorter failing output due to
not having to include all the options.
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
4c524b4719
layout: Store Layout directly in Options
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
1fa9dd32ed
config: Split Layout from LayoutPart
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
2781d3a743
config: Replace resolve_against with MergeWith
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
a2727ba2c9
config: Introduce MergeWith trait
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
8df6231cc1
layout/tests: Make Op non-Copy
2025-10-02 09:33:08 +03:00
Ivan Molodetskikh
37aea69715
Move workspace options check to workspace tests
2025-09-20 13:42:59 +03:00
Ivan Molodetskikh
7024a23d2c
layout/workspace: Rearrange checks
2025-09-20 13:42:59 +03:00
Ivan Molodetskikh
86edeb3b0b
Fix DnD icon offset from surface cursor
...
The offset is already relative to the hotspot, no need to offset twice.
2025-09-19 15:48:07 +03:00
Ivan Molodetskikh
ffb3030e36
Fix layer-shell initial commit logic
...
I didn't properly update it for the Smithay refactor. It was reading
initial_configure_sent too early. This worked before when niri had to reset it
manually, but it no longer works now that it is automatically reset already
before entering this function.
2025-09-18 08:11:08 +03:00
Ivan Molodetskikh
4808ba2b20
Update Smithay (last_acked refactor, Qt layer-shell popup grab fix, popup ordering fix)
2025-09-17 22:04:23 +03:00