Hyprland/src/render
end-4 e1edfde539
Allow setting alpha value for ignorezero layer rule (#2477)
* 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-06-11 19:30:31 +02:00
..
decorations groupbars: fix damage calcs 2023-05-31 19:53:58 +02:00
shaders Allow setting alpha value for ignorezero layer rule (#2477) 2023-06-11 19:30:31 +02:00
Framebuffer.cpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00
Framebuffer.hpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00
OpenGL.cpp Allow setting alpha value for ignorezero layer rule (#2477) 2023-06-11 19:30:31 +02:00
OpenGL.hpp Allow setting alpha value for ignorezero layer rule (#2477) 2023-06-11 19:30:31 +02:00
Renderer.cpp Allow setting alpha value for ignorezero layer rule (#2477) 2023-06-11 19:30:31 +02:00
Renderer.hpp Renderer: add init animation 2023-05-01 02:49:41 +01:00
Shader.cpp fix shader destroy id unset 2022-12-03 14:45:10 +00:00
Shader.hpp Allow setting alpha value for ignorezero layer rule (#2477) 2023-06-11 19:30:31 +02:00
Shaders.hpp rewritten borders, fixed msaa 2022-06-26 19:39:56 +02:00
Texture.cpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00
Texture.hpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00