kwin-effects-forceblur
kwin-effects-forceblur copied to clipboard
Menus are always blurred on Wayland, even if "Blur menus" is disabled
The window type must be different on Wayland for some reason, since EffectWindow::isMenu()
, EffectWindow::isDropdownMenu()
and EffectWindow::isPopupMenu()
all return false. It could be a KWin bug, as the Translucency effect uses the same properties and doesn't work on Wayland as well.
if (window.dialog === true) {
checkWindow(window, translucencyEffect.settings.dialogs);
} else if (window.dropdownMenu === true) {
checkWindow(window, translucencyEffect.settings.dropdownmenus);
} else if (window.popupMenu === true) {
checkWindow(window, translucencyEffect.settings.popupmenus);
} else if (window.comboBox === true) {
checkWindow(window, translucencyEffect.settings.comboboxpopups);
} else if (window.menu === true) {
checkWindow(window, translucencyEffect.settings.tornoffmenus);
}