summaryrefslogtreecommitdiff
path: root/src/helpers/WLClasses.cpp
Commit message (Collapse)AuthorAgeFilesLines
* animations: fix layer slide with fadeVaxry2024-03-181-1/+2
| | | | fixes #5151
* xkb: handle invalid keymaps in updateXKBTranslationStateVaxry2024-03-031-3/+16
| | | | fixes #4941
* input: Rewritten pointer constraints (#4889)Vaxry2024-03-021-76/+0
| | | | | | | | | | | | | | | | | * rewritten constraints * send pointer enter on activate if not pointer focus * minor cleanup * simulate movement on commit * don't ignore oneshot prop * various fixes * dont send motion on confined * update pos hint on region change
* keybinds: better follow xkb translation stateVaxry2024-03-021-0/+64
| | | | fixes #4908
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-10/+10
| | | | | | | | | | | | | | | | | | | | | | | * 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: minor fixes for new animationsVaxry2024-02-281-1/+1
|
* layers: add fully featured animationsVaxry2024-02-281-2/+121
| | | | | | | | Adds configs and layerrules to handle them alas fixes #981 I have cooked
* internal: various improvements to avoid crashes on exitVaxry2023-12-061-0/+3
|
* opengl: clear layer fade fbs in ~dtorVaxry2023-12-041-0/+5
|
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-2/+2
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* input: Various constraint handling fixes (#3381)Vaxry2023-09-201-0/+77
| | | Fixes #3204
* rules: add layer and window xray rulesvaxerski2023-08-091-0/+6
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-111-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp
* LS: add blur and ignorezero rulesvaxerski2023-03-171-0/+15
|
* Multiple animation optimization and xwayland wine fixesvaxerski2022-11-041-0/+1
|
* Animation config reworkvaxerski2022-07-281-1/+1
|
* Fadein/out now applies to layersurfaces toovaxerski2022-05-141-0/+7