summaryrefslogtreecommitdiff
path: root/src/helpers/WLClasses.cpp
Commit message (Collapse)AuthorAgeFilesLines
* input: Introduce basic hyprland HID classesVaxry2024-05-031-77/+0
| | | | | | 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.
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-211/+0
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* renderer: Add dimaround layer rule (#4643)TheOnlyMrCat2024-04-111-0/+8
|
* layers: separate anim configs for open/close (#5421)end-42024-04-041-3/+12
|
* animvar: fixup update callbacks and cleanupVaxry2024-03-291-6/+3
|
* layers: fix bottom slide animation (#5307)MightyPlaza2024-03-281-1/+1
| | | modified: src/helpers/WLClasses.cpp
* layers: add animation direction overridesVaxry2024-03-281-11/+28
| | | | fixes #5285
* layer-shell: render popups above everythingVaxry2024-03-251-0/+3
|
* renderer: allow blurring ls popupsVaxry2024-03-251-0/+9
|
* IME/TI: Fixes and refactoringVaxry2024-03-221-36/+0
| | | | Fixes #5189
* IME: fix crashes with destroyed text-inputsVaxry2024-03-221-0/+36
| | | | ref #5189
* 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