Skip to content

effects: Drop EffectWindow::hasAlpha()

Vlad Zahorodnii requested to merge work/zzag/no-window-has-alpha into master

It's impossible to properly map EffectWindow::hasAlpha() to wayland abstractions, where a window can have subsurfaces.

The main motivation behind this change is to move Window::hasAlpha() and Window::depth() to X11Window.

At the moment, EffectWindow::hasAlpha() is used as a micro-optimization. API and ABI breaking change in libkwineffects.


The move of Window::depth() to X11Window is blocked on the fact that there's also Unmanaged

Merge request reports