Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: efficient current Dock item detection and improved window manag…
…ement (#254) * perf: remove the global listener for mouse movements\clicks * apply hover window delay to switching between apps closes #54 #54 * fix compile errors * rename method * remove outdated mouse computations which cause misaligned window * fix mouse hovering inaccuracy * window fade out effect * customizable fade out duration * restore last app under mouse logic * fix full size preview not rendering when app in full screen * add a buffer zone to not immediately hide when mouse goes over an inactive application - Implemented tracking of previous app status to handle consecutive .notRunning cases - Created hideWindowAndResetLastApp() method to reduce code duplication - Updated processSelectedDockItemChanged() to use the new helper method * reword * reword * restore mouse location conversions - some edge cases where the icon rect uses the converted mouse location * properly access defaults object from outside a view * remove uselss prints * grammar * refactor * only use timer when duration is > 0 * fix lint failure * immediately hide window * fix window placement and inaccurate scwindow config * remove useless code snippets * hide window before displaying and remove previous app logic * remove comment * refactor * properly manage hiding window logic * remove no longer needed view hiding logic * Refine mouse position check for window dismissal - Improve clarity for mouse distance threshold logic - Prevent accidental duplicate window display during fast mouse movements * implement timer to catch lingering windows within WindowDismissalContainer * reset opacity edge case * add comment for clarity * fix invisible window switcher * fix window switcher update inconsistency * remove useless notification types * better window state update management * improve button reliability * fallback to activating entire application * fix window raise and matching logic * reduce distance to hide lingering window * move alpha reset * apply window debounce cancellation logic to window dismissal container * smart distance threshold --------- Co-authored-by: Ethan Bills <[email protected]>
- Loading branch information