D18228: Add windowsystem plugin for KWin's qpa

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> test_window_paint_data.cpp:62
>      void unreferencePreviousWindowPixmap() override {}
> +    QWindow * internalWindow() const override { return nullptr; }
>      bool isDeleted() const override {

style

> blur.cpp:335-336
> +        if (pe->propertyName() == "kwin_blur") {
> +            const auto windows = effects->stackingOrder();
> +            auto it = std::find_if(windows.begin(), windows.end(), [internal] (EffectWindow *w) { return w->internalWindow() == internal; });
> +            if (it != windows.end()) {

Would it be feasible to add EffectWindow *findInternalWindow(QWindow *window) to EffectsHandler?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D18228

To: graesslin, #kwin
Cc: zzag, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.