emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.17k stars 137 forks source link

Set wayland surface width per each mako_surface #486

Closed MikeWalrus closed 4 months ago

MikeWalrus commented 9 months ago

Using the super style's width for all Wayland surfaces causes extra space to be blurred when using the compositor to blur the background of notification surfaces.

Before: before

After: after

emersion commented 4 months ago

I've edited this patch to not store rendered_width/renderer_height in the struct. I couldn't push to your branch so I pushed directly to master: 5e1da120ecf1.

Thanks!

MikeWalrus commented 4 months ago

Thanks!