Commit graph

2252 commits

Author SHA1 Message Date
Victoria Brekenfeld
bd0b834128 element/stack: Use correct serial for tablet grabs 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
1c8a0070c0 element/stack: Handle touch (and tablet) inputs on tabs 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
e563dc85bf input: Don't update pointer position on proximity_out 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
2a3b4dca5f shell: fix client initiated tablet grabs 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
0e15b14ab2 utils/iced: Fix tablet serials and buttons 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
6bf75e1c10 shell: Handle Tablet grabs 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
bb95a57f5a move: Make sure to always unset tool grab 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
87d73dbce3 resize/tiling: Set cursor icons on tool input 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
f00ff834c9 resize/tiling: Fix location for tablet tools 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
b8824128a0 element: Add cursor shape and resize handling on tool input 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
e65f6608a4 element: Remove unnecessary grab variants 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
85564f0336 input: Focus on tool tip down 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
a66f629a4e input: Make sure to update internal pointer position state on tool input 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
67aa6a0c49 input: Don't send out pointer events for tool events 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
9125f8a2a7 input: Add pointer-emulation grab for tablet tools 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
6467f79025 shell: Add tablet grabs 2026-09-03 21:00:11 +02:00
Victoria Brekenfeld
ca9dd27350 chore: Fix debug feature by updating smithay-egui 2026-09-03 21:00:11 +02:00
Ian Douglas Scott
8ec1ffb740 protocols/keyboard-layout: Send ei modifiers on group change
This makes `cosmic-osk` show a group change on `super+space`. Previously
a change like that wouldn't be sent until a keyboard input changed the
modifier state, for instance releasing the shift key.
2026-09-03 19:31:56 +02:00
Frederic Laing
0d75928579 chore: refactor throttle function 2026-09-03 17:46:37 +02:00
Frederic Laing
e62e35e5cc fix: keep Xwayland frame callbacks progressing 2026-09-03 17:46:37 +02:00
Hojjat
8691956644 fix: validate layer radius against the pending surface size 2026-09-02 15:32:26 -06:00
Konstantinos
9059873c84 fix: Do not magnify cursor when there is an active grab. 2026-09-02 15:39:42 +02:00
Shehriyar Qureshi
e93ec67a11 fix(kms): typo in log message 2026-09-02 15:23:09 +02:00
Victoria Brekenfeld
a7d31a75d2 backend/kms: Check all connectors for primary gpu 2026-09-01 08:02:38 -06:00
Victoria Brekenfeld
b407ed560a wayland/decoration: Make default decoration mode configurable 2026-09-01 08:01:43 -06:00
Victoria Brekenfeld
a830784f11
Merge pull request #2796 from weblate/weblate-pop-os-cosmic-comp 2026-08-31 19:13:08 +02:00
Hojjat
9fe22c86b6 fix(corner-radius): use layer surface size for radius validation 2026-08-31 19:10:49 +02:00
RipleyTom
94178034dd feat: allow XWayland window to start minimized 2026-08-31 16:29:03 +02:00
Hosted Weblate
158e2b7f91
i18n: translation updates from weblate
Co-authored-by: Kurt Harren Catindig <kurtharrencatindig03@gmail.com>
2026-08-29 18:07:44 +02:00
Victoria Brekenfeld
5c93094574 chore: update smithay 2026-08-26 20:07:05 +02:00
Hojjat
31827ed240 improv: clear image_cache on refresh 2026-08-25 17:33:56 +02:00
Hojjat
80b8eb47d7 improv: round up and down sample cursor sizes to limit cache 2026-08-25 17:33:56 +02:00
Hojjat
01b79c3eae feat: scalable cursor support 2026-08-25 17:33:56 +02:00
Tom Grushka
8304b18886 Clamp zoom level to 1.0 if < 1.01
Fix floating point edge cases that keep zoom enabled when level ≈ 1.0

Co-authored-by: Luuk van der Duim <luukvanderduim@gmail.com>
2026-08-21 22:56:16 +02:00
Tom Grushka
738e0b3124 a11y: magnifier: change zoom stepping to multiplicative, bound max, add presets
1. Change magnifier zoom stepping from additive to multiplicative,
   because zoom is a ratio, not a difference, and human perception is
   logarithmic (browser zoom steps, map zoom levels, microscope powers).

2. Add `pub const ZoomConfig::ZOOM_INCREMENT_PRESETS` with two
   additional presets: 10% (macOS, Cinnamon) and 75% (for users at
   70-90x zoom).

3. Bound the zoom level to a generous maximum, beyond what anyone is expected
   to need, to prevent runaway / unrecoverable levels (#1230).

Full background and rationale at #2615.

I used AI to assist with research and issue writeup. Code is 100% mine.

- Closes #2615.
- Fixes #1239.
- Partially addresses #1230 and #1237.
2026-08-21 22:56:16 +02:00
Hojjat
f20de50e41 feat: shake cursor to find by magnifying the cursor 2026-08-21 00:39:02 +02:00
chris-010
04026259e0 fix: treat unlocking the session as user activity
SessionLockHandler::unlock clears the lock and schedules a render, but
never tells IdleNotifierState that the user is there. Unlock paths that
produce no input event -- fingerprint and smartcard readers -- therefore
leave the idle clock running across the entire lock period, and it is
already past its timeouts by the time the session is unlocked.

The visible result is that the screen stays off after a successful
unlock until the user moves the mouse or presses a key, or that the
session locks itself again seconds after being unlocked.

Notifying activity for every seat in unlock() resets the timers the same
way an input event would.

Drafted with AI assistance (Claude Code); the change was reviewed,
built and tested by me on real hardware as described.

Signed-off-by: chris-010 <10660568+chris-010@users.noreply.github.com>
2026-08-20 13:19:53 +02:00
Victoria Brekenfeld
314fc670a8
Merge pull request #2754 from weblate/weblate-pop-os-cosmic-comp
Translations update from Hosted Weblate
2026-08-18 13:26:18 +02:00
Hosted Weblate
f1d1c00257
i18n: translation updates from weblate
Co-authored-by: Michael Millet <mikevlet@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/da/
Translation: Pop OS/COSMIC Comp
2026-08-18 11:09:23 +02:00
Ian Douglas Scott
8806436f81 libei: Add com.system76.CosmicOSK to DBus whitelist 2026-08-17 12:22:35 -07:00
Ian Douglas Scott
861a460e6c chore: Fix clippy lints 2026-08-17 12:22:35 -07:00
Ian Douglas Scott
c423e82820 libei: on KMS, schedule render after handling input events
Matches behavior of libinput backend.
2026-08-17 12:22:35 -07:00
Hojjat
f4ee52c46a Ei protocol support
- Use the configured keyboard layout, track ei seats to reconfigure their keyboards
- DBus interface
- Disambiguate input devices per backend instance
- Add support for `ei_keysym` and `ei_text`
- Act as input method for ei_text UTF-8 injection
- Create a region per output for abosolute pointer position
- Map ei region for touchscreen emulation
- Release pointer buttons and keys on removal
- Send modifiers to EI connections
2026-08-17 12:22:35 -07:00
Ian Douglas Scott
e939a72b30 Initial Ei protocol support 2026-08-17 12:22:35 -07:00
Ian Douglas Scott
861b732671 input: Handle scroll events that only have amount_v120
X11, winit, and libei backends all can produce scroll events with
`amount_v120()` but no `amount()`.
2026-08-17 12:22:35 -07:00
Ian Douglas Scott
18ae082615 Update smithay with tablet API changes
For now, only `WlSurface` receives tablet focus, as was previously the
case.

Also updates `reis` to latest bugfix release.
2026-08-17 12:22:35 -07:00
Victoria Brekenfeld
0cf70521ff
Merge pull request #2751 from weblate/weblate-pop-os-cosmic-comp
Translations update from Hosted Weblate
2026-08-17 12:51:34 +02:00
Hosted Weblate
6af1dba69b
i18n: translation updates from weblate
Co-authored-by: Michael Millet <mikevlet@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/da/
Translation: Pop OS/COSMIC Comp
2026-08-17 08:51:26 +02:00
Victoria Brekenfeld
f97a852e95
Merge pull request #2735 from weblate/weblate-pop-os-cosmic-comp
Translations update from Hosted Weblate
2026-08-14 15:57:29 +02:00
Victoria Brekenfeld
3b8bac8335
Merge pull request #2683 from hojjatabdollahi/hojjat/fix-chrome
fix(shell): take presentation feedback from fullscreen surfaces
2026-08-14 15:36:28 +02:00