Ian Douglas Scott
9b98c20da2
Run cargo fmt
2024-01-18 20:27:51 +01:00
Victoria Brekenfeld
cbfda813ed
tiling: Fix focus toggling stacking
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
234a3c6bf9
floating: Fix broken size check
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
9ca5edc836
floating: Allow dragging windows into stacks
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
e9c5266509
stack: Fix rendering of inactive windows
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
db09b4d364
stack: Fix mouse offset on windows with non-zero geometry
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
b762ea1852
stack: Fix dragging out to the top (or the sides)
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
835dbe45f3
shell: Unify mapping windows into stacks logic
2024-01-15 11:02:56 +01:00
Ian Douglas Scott
b2b718dbea
Update smithay
2024-01-08 12:43:41 +01:00
Victoria Brekenfeld
9ce6a871c1
moving: Fix dragging against lower/right screen edges
2024-01-03 16:58:22 +01:00
Victoria Brekenfeld
be192c80e5
floating: Fix next window logic
2024-01-03 14:17:29 +01:00
Victoria Brekenfeld
1fa6167f25
xwayland: Consider fullscreen requests for unmapped windows
2024-01-03 13:20:01 +01:00
Victoria Brekenfeld
bbb9016113
floating: Fix crash resizing tiled windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
2174474012
shell: fix fullscreening tiled windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
c306e11a22
menu: Fix text appearance of disabled entries
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
003b7fb538
menu: Update order, disable move on sticky instead of remove
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
35264ca4a6
shell: Lift next_focus to mix-and-match sticky and floating windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
a829978ce9
shell: Lift move_current_element to consider sticky windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
c6e6f1b181
shell: Fix x11 stacking order of sticky windows on workspace switch
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
ffd99de7ef
winit: Close properly, if the window closes
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
e4298df306
menu: Don't display tiling state for sticky windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
c3ecbeee3b
render: Fix OR window and sticky X11 windows stacking order
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
f928f80f09
formatting fixes
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
0ac12ce202
shell: Handle fullscreen of sticky windows
2024-01-02 13:24:07 +01:00
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
d0136194f4
xdg-popup: Unconstrain sticky window popups as well
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
00a87e021b
render: Handle sticky windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
98f877359f
state: Send frame/dmabuf_feedback/presentation events to sticky windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
cf21d2689a
shell: Add new sticky_layer
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
35766a372b
screencopy: Fix copying to opaque shm formats
2024-01-02 13:24:07 +01:00
Ian Douglas Scott
cf9ae91e96
Initial support for tablet input
2024-01-02 12:44:10 +01:00
Ian Douglas Scott
45946fc75d
Add map_to_output input option for touch devices
2023-12-28 10:37:08 +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
144f8cbf69
Fix generation of axis_stop events
...
`axis_stop` should only be sent if the value is `Some(0)`, while this
also sent it for `None`. So every scroll event on one axis generated
stop events for the other.
This fixes scrolling with a touchpad in Alacritty.
Anvil already does this, comparing against `Some(0.0)`.
2023-12-22 01:28:11 +01:00
Ian Douglas Scott
aa9ec52e62
cosmic: Provide CosmicConfigEntry impl, use _ in property names
...
It seems to derive `CosmicConfigEntry`, we need to use `_` in property
names, because `_` isn't mapped to `-` and there doesn't seem to be a
mechanism like `#[serde(rename)]`.
It seems good to be consistent anyway. So this seems good to change,
unless we really like using `-` for names on disk, then cosmic-panel
needs to be changed.
`CosmicConfigEntry` also requires `PartialEq`, which is easy enough to
add.
This will break existing input settings, which will have to be
re-applied with the new locations. Cosmic-settings also need to be
updated for this.
2023-12-21 09:48:16 +01:00
Victoria Brekenfeld
d4d51192b5
sec_context: Fix None drm_node
2023-12-20 09:56:31 +01:00
Ian Douglas Scott
6eb8b82440
Fix use of ImportNotifier
...
Somehow when updating to this API, I missed the call to `successful`.
This doesn't seem to make a difference for most clients since
`create_immed` is normally used. But should correct anything using
`create`.
2023-12-14 23:56:08 +01:00
Victoria Brekenfeld
a8b401b11d
input: Only capture Escape, if a grab is active
2023-12-13 16:36:49 +00:00