Commit Graph
201 Commits
Author SHA1 Message Date
Samuel Onoja b2363a18b0 Share native theme components and fix dialog backdrop blur
Centralize native palettes, presets, typography, controls, menus, calendar rendering, and icon assets in ferese-theme. Reuse the shared components across the shell, settings, lock screen, authentication prompt, and screen-sharing chooser.

Attach themed dialogs to compositor-owned materials, correct backdrop capture and sampling across output transforms, smooth patterned backgrounds, and prevent clipped picker buttons with the configured shell font.
2026-09-29 21:19:19 +01:00
Samuel Onoja 362bf79012 Consolidate workspace slide cleanup 2026-09-29 17:09:32 +01:00
Samuel Onoja 74634b8cd0 Animate swipe navigation across windows and workspaces 2026-09-29 17:05:28 +01:00
Samuel Onoja 38673e41c8 Abandon screenshot requests whose output is never redrawn 2026-09-29 16:19:46 +01:00
Samuel Onoja b3de13e27e Keep fullscreen dialogs visible and preserve window focus 2026-09-29 16:14:19 +01:00
Samuel Onoja eda453dabd Capture screenshots in the compositor instead of grim 2026-09-29 15:51:56 +01:00
Samuel Onoja 4b70cb40e0 Move and resize floating windows with the Super button 2026-09-29 15:51:51 +01:00
Samuel Onoja a597d09a7a Settle window animations when their workspace hides 2026-09-29 15:13:31 +01:00
Samuel Onoja a840db5946 Settle hidden window presentation on workspace return 2026-09-29 14:54:44 +01:00
Samuel Onoja c73d11b2c9 Match hover focus to pointer surface hit testing 2026-09-29 13:59:38 +01:00
Samuel Onoja 9b78aabf0a Revert "Keep drag source focused until pointer leaves release window"
This reverts commit 7b6e592cb4.
2026-09-29 13:55:58 +01:00
Samuel Onoja 7b6e592cb4 Keep drag source focused until pointer leaves release window 2026-09-29 13:50:12 +01:00
Samuel Onoja 7d3a88bef7 Unmap hidden windows in place in relayout
The hidden-window sweep built a Vec of cloned Window handles purely to
work around the borrow checker: unmap_elem needs &mut self.space while
the iteration borrows self.window_ids. Move the space out with
mem::take instead and unmap in place, dropping the allocation and the
per-window clone.

Behaviour is unchanged. unmap_elem only removes the element passed to
it, so it cannot affect element_location for any other window, which
makes checking each window immediately before its own unmap equivalent
to testing every hidden window up front; the unmap order is the same
window_ids iteration order. The |= is deliberate so the check never
short-circuits past an unmap.

This is a cleanup, not a measured win. The sweep is dominated by the
linear scans inside element_location and unmap_elem, and a Vec only
allocated when windows were actually hidden, so the saving is small.
Verified with twelve live foot windows across forty workspace switches.
2026-09-29 13:09:58 +01:00
Samuel Onoja e7ee2f14db Skip the pointer hit test outside Overview presenting
visual_scale_for_window returns 1.0 whenever Overview is not
presenting, so gate the window_under_visual walk behind
is_presenting() and read the scale straight from the constant.

Use hash_map::Entry for the window geometry insert so client_size is
only computed on the vacant path, and reuse the elapsed time already
sampled for the frame in expire_wait and presentation_size_request
instead of calling start_time.elapsed() a second time.
2026-09-29 12:00:03 +01:00
Samuel Onoja 2eb5fe7b73 Release layout slots for unbuffered XDG windows 2026-09-29 11:52:17 +01:00
Samuel Onoja 67192c0c04 Speed up per-frame layout, hit testing, and stacking paths
Split ScrollingLayout validation so the per-frame geometry solve only
checks scalars and keeps the full tree validation behind debug_assert,
removing a HashSet build from every frame. Replace the per-region Vec
in decode_regions with a stack array via as_chunks, and skip the window
hit test in PointerMotion when Overview is not presenting, where
visual_scale_for_window returns 1.0 regardless.

Guard sync_window_stacking behind a check that the space already matches
the target order with uniform z_index, avoiding an O(n^2) raise_element
loop on every redraw. Narrow window_under_visual to the space iterator
outside Overview, keeping the collected and sorted candidate list for
the Overview branch where front-to-back order is load-bearing.

Raise rust-version to 1.98 and clear the resulting Clippy findings
across the workspace: let-chain collapses, clamp, and while-let loops.
2026-09-29 09:49:04 +01:00
Samuel Onoja 7d73510086 Float native screen sharing and authentication dialogs by default 2026-09-28 11:12:00 +01:00
Samuel Onoja 41d63f6b18 Make Overview selection responsive and simplify window previews 2026-09-28 10:45:38 +01:00
Samuel Onoja 442b950bcd Separate pointer focus from scrolling window reveal 2026-09-28 10:36:19 +01:00
Samuel Onoja 2b0ec94ab7 Preserve selected window focus while Overview closes 2026-09-28 10:27:49 +01:00
Samuel Onoja c8e89fb758 Unify shell opacity and add native authentication and system controls 2026-09-28 09:26:14 +01:00
Samuel Onoja cb512eece9 Respect translucent bar opacity and skip unnecessary blur 2026-09-27 12:41:24 +01:00
Samuel Onoja 3c532725ec Respect committed floating window sizes and client limits 2026-09-27 12:26:46 +01:00
Samuel Onoja f87039562b Prune unused empty workspaces while preserving visible outputs 2026-09-27 12:16:50 +01:00
Samuel Onoja e5e2b74a25 Unify shell corner radius and speed up Settings page switching 2026-09-27 09:41:43 +01:00
Samuel Onoja ab6bf8b961 Refine notification center and configure native notifications
Keep notification actions and dismiss controls visible, compact and animate history, and add themed icon controls and grouping.

Include notification settings, session integration and documentation, on-demand workspaces, and performance baseline notes.
2026-09-27 08:35:38 +01:00
Samuel Onoja 08a586612f Schedule redraws for pending wallpaper upload retries 2026-09-27 07:08:49 +01:00
Samuel Onoja 4da59f3906 Debounce config reloads only after filesystem notifications 2026-09-27 07:08:03 +01:00
Samuel Onoja b469929847 Wake the event loop when wallpaper decoding completes 2026-09-27 07:06:15 +01:00
Samuel Onoja 6dd132a4a5 Load overview fonts off the compositor event loop 2026-09-27 07:04:05 +01:00
Samuel Onoja da5397940b Measure render attempts that produce no damage 2026-09-27 07:01:31 +01:00
Samuel Onoja 473ce8b332 Back off failed wallpaper uploads while allowing recovery 2026-09-27 07:01:08 +01:00
Samuel Onoja 18cbf8f44d Skip unchanged shell snapshots and share broadcast construction 2026-09-27 06:59:46 +01:00
Samuel Onoja 917379d548 Reduce polling retries and repeated compositor lookups 2026-09-27 06:58:09 +01:00
Samuel Onoja 7e96a62e43 Add distinct theme presets and bundle the default Ferese wallpaper 2026-09-27 06:10:52 +01:00
Samuel Onoja 9e90de4e74 Replace user configuration with KDL and improve Rust source spacing 2026-09-27 05:46:51 +01:00
Samuel Onoja dbdfc5688e Fix screenshots and workspace switching; add configurable swipe bindings 2026-09-27 05:21:52 +01:00
Samuel Onoja 5d6c610fec Add area screenshots and preserve stacking on hover focus 2026-09-26 23:22:38 +01:00
Samuel Onoja 8dc895448d Add desktop widgets and streamline documentation 2026-09-26 22:53:51 +01:00
Samuel Onoja c63af64d87 Refine Settings and window startup; refresh project documentation 2026-09-26 21:22:39 +01:00
Samuel Onoja 23991d5bd8 Add native Settings and complete live configuration reload
Add compact branded Settings with safe atomic edits, external config refresh and a draggable sidebar. Reconcile services, update connected displays and input devices, apply live layout policy and window rules, and resolve initial floating placement before tiled insertion. Package the Settings launcher and shared Ferese icon.
2026-09-26 20:31:05 +01:00
Samuel Onoja 672b4e2b60 Add live config reload, session locking and managed daemons
Refine focus gradients, shell workspace controls and popup motion. Correct floating stacking and preserve client-chosen dialog sizes. Add lock protocol probes and session integration.
2026-09-26 19:03:37 +01:00
Samuel Onoja b422448d88 Add centered workspace thumbnails to overview
Render a tinted, scrollable workspace strip with live thumbnails, output-scaled font labels and a subtle selected-workspace outline. Keep the window grid background-free and support workspace selection without exiting overview.

Animate strip opacity independently with precise fade tolerances and continuous reversal, and expose toggle-overview through feresectl.
2026-09-26 15:13:13 +01:00
Samuel Onoja 0709484efb Overhaul resize presentation and wallpaper rendering
Coordinate native-pixel resize handoffs, fractional geometry and shared animation timing. Delegate wallpaper rendering to the compositor, advertise DMA-BUF device feedback, and improve callback pacing and render metrics.

Handle monitor-local shell surfaces, lid-driven output evacuation and workspace restoration.
2026-09-26 14:50:14 +01:00
Samuel Onoja 48ac963ffe Add configurable inactive dimming and viewport-paged scrolling 2026-09-26 09:41:55 +01:00
Samuel Onoja 64c95f0b97 Replace glass effects with plain backdrop blur and refine shell layout 2026-09-26 09:12:51 +01:00
Samuel Onoja af32c29a49 Fix layer-shell scale propagation and honor configured shell font 2026-09-26 07:27:23 +01:00
Samuel Onoja 90e8986d8e Refine shell surfaces, spacing, and Ferese symbol 2026-09-26 05:12:01 +01:00
Samuel Onoja b3fa82b53b Refine shell status controls and glass rendering; defer cursor redraw safely 2026-09-26 05:05:50 +01:00
Samuel Onoja e85fc1e032 advance shell integration and session support 2026-09-25 09:15:07 +01:00