Ashley Wulber
39d3c99d13
improv: allow multiple popup chains
...
multiple grabs are still not allowed, but this seems to be working well with a tooltip, nested popup chains, and hopefully a context drawer popup
2026-08-28 17:20:22 +02:00
Hojjat
aca94cf2af
feat(wayland): add ability to hide the cursor over a surface
...
also now the surfaces say what the cursor over them should look like,
previously one cursor shape was selected globally for the seat
2026-08-27 22:05:27 -04:00
Ashley Wulber
f86d983896
fix: remove any old blur surface or corners on surface creation
2026-07-29 14:21:04 -04:00
Hojjat
c195232875
fix: avoid 1×1 popup geometry that trips corner-radius validation
2026-07-14 00:10:47 +02:00
Hojjat
775abd45d1
Revert "fix: validate corner radius against window geometry"
...
This reverts commit 5da1188557 .
2026-07-14 00:10:47 +02:00
Hojjat
5da1188557
fix: validate corner radius against window geometry
2026-07-10 02:23:59 +02:00
Ashley Wulber
b5b2b2fcc3
fix: popup cleanup
2026-07-06 18:44:30 -04:00
Ashley Wulber
c781ff6199
chore: cargo fmt
2026-07-01 10:37:52 -04:00
Ashley Wulber
633ed14411
feat: popup reposition
2026-07-01 10:37:52 -04:00
Ashley Wulber
8e94441efa
fix: apply initial corner radius after adding surfaces to the state
...
otherwise the corners won't be set.
2026-07-01 10:37:52 -04:00
Ashley Wulber
46781102fe
fix: set blur and corners on creation
2026-07-01 10:37:52 -04:00
Ashley Wulber
5cc9f8d621
fix: single blur surface per wl surface
2026-07-01 10:37:52 -04:00
Ashley Wulber
b8b0804140
fix(overlap): fix check for disabling
2026-07-01 10:37:52 -04:00
Ashley Wulber
6521f7fa20
fix: improved layer surface popup cleanup
2026-07-01 10:37:52 -04:00
Ashley Wulber
f6fa506f6c
chore(layer shell): add padding action
2026-07-01 10:37:52 -04:00
Ashley Wulber
e0c7d353aa
better handle pending corners
2026-07-01 10:37:52 -04:00
Ashley Wulber
1bcba7e30c
wip: corner radius v2
2026-07-01 10:37:52 -04:00
Ashley Wulber
dcf4cf0194
improv: ignore duplicate surfaces and log a warning
2026-06-06 02:22:09 +02:00
Ashley Wulber
a7d71d9ace
chore: modifiers event on keyboard enter and leave
2026-05-27 20:01:47 +02:00
Ashley Wulber
1bf1e33317
improv(wayland): handle capabilities for ext_background_effect
2026-04-14 18:21:36 -04:00
Ashley Wulber
d2b2715835
feat: ext-background-effect blur
2026-04-14 18:21:36 -04:00
KENZ
594ed5cfbe
fix: Forward DeleteSurroundingText event in wayland backend
2026-04-01 17:18:08 -04:00
KENZ
d0ef1f9e85
Implement IME-related methods of SctkWinitWindow for apps using single-instance feature
...
- At least, following apps are using `single-instance` feature:
- cosmic-launcher
- cosmic-app-library
- Once libcosmic text widgets supported the IME, these apps start hitting following methods of SctkWinitWindow which is `todo!()` and will crash at startup:
- `set_ime_cursor_area()`
- `set_ime_allowed()`
- `set_ime_purpose()`
- So, this PR implements these method utilizing following wayland protocols.
- zwp_text_input_v3
- zwp_text_input_manager_v3
2026-04-01 17:18:08 -04:00
Ashley Wulber
b22d363f2c
fix: popup creation handling of existing popups
2026-03-06 10:32:42 -05:00
Ashley Wulber
f7dc180371
fix: subsurface improvements
...
this fixes a couple issues in the greeter
2026-02-27 17:23:10 -05:00
Ashley Wulber
686c6afb8d
fix(sctk): popup initial configure ack handling
2026-02-20 18:15:28 -05:00
Ashley Wulber
c1edb81084
fixes: various fixes and cleanup
2026-02-19 17:01:13 -05:00
Stephan Buys
a489a6b790
iced: propagate pane drag destinations
2026-01-28 14:18:29 -05:00
Frederic Laing
1fb7e08f23
fix Wayland layer-shell protocol violation: "must ack the initial configure before attaching buffer"
2026-01-28 14:10:58 -05:00
Ashley Wulber
fd2220775b
fix: skip resize if size is unchanged
2026-01-28 12:01:02 -05:00
Ian Douglas Scott
49f1c2250b
winit/wayland: Add action to update layer shell input zone
2026-01-28 12:01:01 -05:00
Ian Douglas Scott
ea4f704f0f
winit/wayland: input_zone for layer, instead of pointer_interactivity
...
This is a more general version of the same thing, at matches what is
used for popups and subsurfaces.
2026-01-28 12:01:01 -05:00
Ian Douglas Scott
20e60ffde6
winit/wayland: Allow Vec for input_zone
2026-01-28 12:01:00 -05:00
Ashley Wulber
329c4c0a84
fix(sctk): set_reactive on positioner if version allows
2026-01-28 12:00:33 -05:00
Ashley Wulber
7993a572b0
fix(wayland): window resize forces corner radius update
2026-01-28 11:59:57 -05:00
Ashley Wulber
e73bbddbca
feat(wayland): corner-radius protocol support
2026-01-27 17:17:08 -05:00
Ashley Wulber
54a69a0523
feat(wayland): shortcut inhibit
2026-01-27 17:00:24 -05:00
Ashley Wulber
8e7b7e586f
feat: subsurface reposition
2026-01-27 16:26:11 -05:00
Ashley Wulber
4eb7f9b2fe
fix(wayland popup): apply input region
2026-01-27 16:26:11 -05:00
Ian Douglas Scott
5924fea0b1
Revert "subsurface_widget: Handle viewport and set source rectangle"
...
This reverts commit 15547dec8f83af1ea6dbed1964302400fc17c257 from
https://github.com/pop-os/iced/pull/227 .
This is causing issues in `cosmic-workspaces`. It seems I didn't test it
properly outside the examples here... and this misinterpreted exactly
what the (undocumented) `viewport` argument means (Iced's `image` widget also
needed a fix to handle viewports properly since our fork:
https://github.com/iced-rs/iced/pull/2752 ).
It should be possible to fix, but revert for now.
2026-01-27 16:26:10 -05:00
Ian Douglas Scott
58f6ea3f08
subsurface_widget: Handle viewport and set source rectangle
...
This is needed to crop subsurface when needed, instead of rendering
overlapping other things. And to offset while scrolling.
2026-01-27 16:26:09 -05:00
Ashley Wulber
9668aeba1f
fix: nested popup destruction
2026-01-27 16:08:23 -05:00
Ian Douglas Scott
02bd5d17ef
subsurface_widget: Sort parent WlSurface, not ObjectId
2026-01-26 11:56:37 -05:00
Jeremy Soller
7120db60ba
Format
2026-01-26 10:14:19 -05:00
Ashley Wulber
4db71cb0e6
fix: create fractional scale for sctk subsurfaces
2026-01-23 15:39:42 -05:00
Ashley Wulber
93bc4bbd88
feat: subsurfaces
2026-01-23 15:39:35 -05:00
Ashley Wulber
301892aaa5
feat: overlap notify
2026-01-23 11:25:32 -05:00
Ashley Wulber
6e91eabf4c
refactor: use cctk
2026-01-23 11:16:56 -05:00
Ashley Wulber
90c0aefa25
fix(sctk): reduce event spam for redraw requests
2026-01-21 14:44:51 -05:00
Ashley Wulber
df4b94edf2
cargo fmt
2026-01-21 13:55:16 -05:00