aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers/WLClasses.cpp
AgeCommit message (Collapse)Author
2024-05-03input: Introduce basic hyprland HID classesVaxry
Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.
2024-04-30layerSurface: refactor/move to a memory-safe implVaxry
Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
2024-04-11renderer: Add dimaround layer rule (#4643)TheOnlyMrCat
2024-04-04layers: separate anim configs for open/close (#5421)end-4
2024-03-29animvar: fixup update callbacks and cleanupVaxry
2024-03-28layers: fix bottom slide animation (#5307)MightyPlaza
modified: src/helpers/WLClasses.cpp
2024-03-28layers: add animation direction overridesVaxry
fixes #5285
2024-03-25layer-shell: render popups above everythingVaxry
2024-03-25renderer: allow blurring ls popupsVaxry
2024-03-22IME/TI: Fixes and refactoringVaxry
Fixes #5189
2024-03-22IME: fix crashes with destroyed text-inputsVaxry
ref #5189
2024-03-18animations: fix layer slide with fadeVaxry
fixes #5151
2024-03-03xkb: handle invalid keymaps in updateXKBTranslationStateVaxry
fixes #4941
2024-03-02input: Rewritten pointer constraints (#4889)Vaxry
* 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
2024-03-02keybinds: better follow xkb translation stateVaxry
fixes #4908
2024-03-02animations: Refactor AnimatedVariable (#4911)GartoxFR
* 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
2024-02-28layers: minor fixes for new animationsVaxry
2024-02-28layers: add fully featured animationsVaxry
Adds configs and layerrules to handle them alas fixes #981 I have cooked
2023-12-06internal: various improvements to avoid crashes on exitVaxry
2023-12-04opengl: clear layer fade fbs in ~dtorVaxry
2023-10-15cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik
(#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
2023-09-20input: Various constraint handling fixes (#3381)Vaxry
Fixes #3204
2023-08-09rules: add layer and window xray rulesvaxerski
2023-06-11Allow setting alpha value for ignorezero layer rule (#2477)end-4
* 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
2023-03-17LS: add blur and ignorezero rulesvaxerski
2022-11-04Multiple animation optimization and xwayland wine fixesvaxerski
2022-07-28Animation config reworkvaxerski
2022-05-14Fadein/out now applies to layersurfaces toovaxerski