summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* workspaces: add visible flagVaxry2024-04-031-1/+1
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-9/+9
| | | | | * refactor workspaces to use ptrs * clang-format
* animations: simplify window loopVaxry2024-04-011-1/+1
|
* renderer: Fix layer and window damage sometimes missing 1 frame (#5370)thejch2024-04-011-6/+11
| | | | | * fix the layer and window damage missing 1 frame sometimes * remove extra loop
* renderer/animations: Fix various inaccurate damage tracking issues and ↵thejch2024-03-311-58/+36
| | | | offsets (#5297)
* animationmgr: use realpos and size for border damageVaxry2024-03-241-1/+1
| | | | fixes #5239
* animations: Fix animation issue in focusworkspaceoncurrentmonitor (#5202)thejch2024-03-231-6/+6
| | | | | | | | | | | | | | | | | * dont render when workspace offset * add guard * can remove useless code now if workspace offset is not taken into account * clang-format * when special workspace is moved, set anim to move * add offset back * make it a configurable option because some folks apparently can't align their monitors correctly and may not want this feature😔 * remove config option
* refactor: move window.hpp to desktop/Vaxry2024-03-201-0/+1
|
* renderer: add better multi monitor animations (#5126)thejch2024-03-161-5/+30
|
* config: improve config value infrastructureVaxry2024-03-031-4/+5
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-70/+41
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* layers: add fully featured animationsVaxry2024-02-281-1/+22
| | | | | | | | Adds configs and layerrules to handle them alas fixes #981 I have cooked
* animationmgr: expand layer box for damageVaxry2024-02-221-0/+5
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* internal: Remake borders as window decorations (#4104)Vaxry2023-12-101-0/+2
|
* renderer: clip floating boxes on slide animVaxry2023-11-161-0/+6
| | | | fixes #3514
* animationmgr: push shadow avs to ended on disabledVaxry2023-11-111-0/+1
|
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-21/+2
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-5/+4
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-7/+7
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* animationmgr: damage floating windows on workspace animvaxerski2023-10-071-0/+6
| | | | fixes #3514
* animationmgr: guard monitor ptr in animationSlidevaxerski2023-09-061-2/+5
|
* animationmgr: Optimize CAnimationManager::scheduleTick a bit. (#3172)Dickby2023-09-051-5/+4
| | | | | * Optimize CAnimationManager::scheduleTick a bit. * Use integer in wl_event_source_timer_update call.
* internal: Unsafe state reworks (#3114)Vaxry2023-09-011-5/+8
|
* animations: add slidefade and slidefadevert styles for workspaces (#3008)end-42023-08-171-0/+16
| | | | | | | | | | | | | | | * add slidefade and slidefadevert animations * fix swiping for slidefadevert * rename minPerc to movePerc for slidefade anim styles * change default slidefade percentage to 100% * remove useless comments * findlastof + 1 * debug logging for slidefade/slidefadevert percentage
* renderer: Border improvements (#2986)MightyPlaza2023-08-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify getting border size modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix border damage and input box modified: src/Window.cpp modified: src/managers/AnimationManager.cpp * add border size in resize_on_border box modified: src/managers/input/InputManager.cpp * simplify border (fixes possible typo) modified: src/Window.cpp * use updateSpecialRenderData() modified: Window.cpp modified: Window.hpp modified: events/Windows.cpp modified: layout/DwindleLayout.cpp modified: layout/IHyprLayout.cpp modified: layout/MasterLayout.cpp modified: render/Renderer.cpp * update window workspace rule data on reload modified: src/config/ConfigManager.cpp * use rounding() modified: src/Window.cpp
* animationmgr: avoid redundant ticksvaxerski2023-08-051-6/+37
|
* animationmgr: avoid looping over all avars in favor of only active onesvaxerski2023-07-201-6/+1
|
* animationmanager: optimize avar statevaxerski2023-07-191-1/+2
|
* internal: Wrap regions (#2750)Vaxry2023-07-191-9/+6
|
* renderer: add occlusion for back layersvaxerski2023-07-191-1/+2
|
* animationmgr: warp on equal start and goalvaxerski2023-06-131-3/+3
|
* animationmgr: allow empty avarsvaxerski2023-05-151-3/+6
|
* Fixed a crash when waking up monitors in power-saving mode (#2139)Tyler Schneider2023-04-231-0/+6
|
* tick: don't tick on invalid sessionvaxerski2023-04-151-3/+4
|
* plugins: Add "tick" event (#2029)Stanisław Zagórowski2023-04-121-0/+3
|
* Update the debug overlayvaxerski2023-03-031-0/+4
|
* Move AnimationManager::tick() to an event loopvaxerski2023-03-021-0/+14
|
* rethink visible flag in animmgrvaxerski2023-02-141-1/+1
|
* ignore damage on hidden windows in animationmanagervaxerski2023-02-141-11/+17
|
* feat: border angle animations (#1469)ozwaldorf2023-02-011-0/+4
| | | Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* better ls noanim handlingvaxerski2023-01-251-0/+1
|
* Add hyprctl animationsvaxerski2023-01-251-3/+7
|
* make hyprerror follow fadein animvaxerski2023-01-201-2/+2
|
* use curves for special dim animvaxerski2022-12-291-2/+8
|
* Added clang format (#1239)Vaxry2022-12-161-59/+67
| | | * clang-format stuff and format files
* fix up formattingvaxerski2022-11-071-2/+1
|
* Added resize transitionsvaxerski2022-11-061-13/+9
|
* Multiple animation optimization and xwayland wine fixesvaxerski2022-11-041-1/+11
|
* rework focus system to be more safe and fastervaxerski2022-10-141-1/+1
|