swayfx/sway
rti 3e6626d6c3
fix: consider dim introduced transparency for blur (#184)
The blur rendering logic includes the optimization to render blur only
for transparent surfaces. This patch considers surfaces as transparent
also when the transparency is only introduced by the dim color.

We can now have windows, that are opaque by default become transparent
with blurred background as soon as they loose focus.

Example configuration:

```
blur on
blur_passes 3
blur_radius 5

default_dim_inactive 0.15
dim_inactive_colors.unfocused #00000000
```
2023-06-04 15:48:19 -04:00
..
commands Add blur, shadow, and corner radius to layer-shell surfaces (#144) 2023-05-19 21:14:06 +02:00
config rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
desktop fix: consider dim introduced transparency for blur (#184) 2023-06-04 15:48:19 -04:00
input upstream update: merge sway 1.8.1 (#111) 2023-02-14 10:51:29 -05:00
tree fix: crash when moving tabbed container to scratchpad (#182) 2023-06-02 20:19:25 -04:00
commands.c Add blur, shadow, and corner radius to layer-shell surfaces (#144) 2023-05-19 21:14:06 +02:00
config.c default scratchpad_minimize to false and add warning 2023-06-02 18:56:43 -04:00
criteria.c rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c upstream: ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entry 2023-05-21 00:23:40 -04:00
ipc-server.c rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
layer_criteria.c Add blur, shadow, and corner radius to layer-shell surfaces (#144) 2023-05-19 21:14:06 +02:00
lock.c upstream update: merge sway 1.8.1 (#111) 2023-02-14 10:51:29 -05:00
main.c rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
meson.build fix: update stencil if the output size changes (#178) 2023-06-02 18:53:41 -04:00
realtime.c rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
server.c Add kawase blur (#120) 2023-04-17 23:24:48 +02:00
sway-bar.5.scd man: update Pango font description URL 2021-08-04 02:15:04 +02:00
sway-input.5.scd rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
sway-ipc.7.scd Add blur, shadow, and corner radius to layer-shell surfaces (#144) 2023-05-19 21:14:06 +02:00
sway-output.5.scd upstream update: merge sway 1.8.1 (#111) 2023-02-14 10:51:29 -05:00
sway.1.scd man: update maintainer 2021-01-08 09:33:51 +01:00
sway.5.scd Add blur, shadow, and corner radius to layer-shell surfaces (#144) 2023-05-19 21:14:06 +02:00
swaynag.c Bump RLIMIT_NOFILE 2021-10-30 08:19:35 -06:00
xdg_activation_v1.c rebase: Sway 1.8 (#78) 2023-01-04 17:32:43 -05:00
xdg_decoration.c Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8c 2021-10-07 21:29:37 +03:00