nix: bump scenefx

there's currently an evaluation warning:

    evaluation warning: The xorg package set has been deprecated, 'xorg.libxcb' has been renamed to 'libxcb'
    evaluation warning: The xorg package set has been deprecated, 'xorg.xcbutilwm' has been renamed to 'libxcb-wm'

commit wlrfx/scenefx@6291016 updated some package names in line with
upstream changes, and bumping that flake will make the warning disappear.

Unfortunately this means we need to deal with a couple of breaking APIs
changes:

* the `enum corner_location` and `int corner_radius` pair has been
  replaced with `struct fx_corner_radii`
* `wlr_scene_buffer_set_backdrop_blur()`, `_ignore_transparent()`, and
  `_optimized()` have been removed, and  blur is now managed at the scene
  level via `wlr_scene_blur` nodes

moreover, it appears that wlrfx/scenefx@51d9081 introduced a regression
with how transparency is handled, so bump scenefx only to the commit
before that (wlrfx/scenefx@bdc3e64) rather than main.

Signed-off-by: Gilberto Bertin <me@jibi.io>
This commit is contained in:
Gilberto Bertin 2026-03-31 16:10:57 +02:00
parent 52676492fe
commit 10ebb2ae2a
7 changed files with 144 additions and 67 deletions

View file

@ -286,7 +286,7 @@ typedef struct {
int32_t blur_layer;
int32_t blur_optimized;
int32_t border_radius;
int32_t border_radius_location_default;
struct fx_corner_radii border_radius_location_default;
struct blur_data blur_params;
int32_t shadows;
int32_t shadow_only_floating;
@ -1384,6 +1384,7 @@ bool parse_option(Config *config, char *key, char *value) {
config->blur_optimized = atoi(value);
} else if (strcmp(key, "border_radius") == 0) {
config->border_radius = atoi(value);
config->border_radius_location_default = corner_radii_all(config->border_radius);
} else if (strcmp(key, "blur_params_num_passes") == 0) {
config->blur_params.num_passes = atoi(value);
} else if (strcmp(key, "blur_params_radius") == 0) {
@ -3363,7 +3364,7 @@ void set_value_default() {
config.blur_layer = 0;
config.blur_optimized = 1;
config.border_radius = 0;
config.border_radius_location_default = CORNER_LOCATION_ALL;
config.border_radius_location_default = corner_radii_all(config.border_radius);
config.blur_params.num_passes = 1;
config.blur_params.radius = 5;
config.blur_params.noise = 0.02f;