Skip to content

Error compile kwin-plugins #8

@cararetoalonso

Description

@cararetoalonso

[ 86%] Building CXX object plugins/roundedwindow/CMakeFiles/roundedwindow.dir/roundedwindow.cpp.o
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp: In function ‘KWin::GLShader* getShader()’:
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp:120:37: error: ‘ClampTexture’ is not a member of ‘KWin::ShaderTrait’; did you mean ‘MapTexture’?
120 | if (traits & KWin::ShaderTrait::ClampTexture) {
| ^~~~~~~~~~~~
| MapTexture
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp: In member function ‘bool RoundedWindow::hasShadow(KWin::WindowQuadList&)’:
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp:242:23: error: ‘const class KWin::WindowQuad’ has no member named ‘type’
242 | if (qds.at(i).type() == KWin::WindowQuadShadow)
| ^~~~
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp:242:39: error: ‘WindowQuadShadow’ is not a member of ‘KWin’; did you mean ‘WindowQuadList’?
242 | if (qds.at(i).type() == KWin::WindowQuadShadow)
| ^~~~~~~~~~~~~~~~
| WindowQuadList
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp: In member function ‘virtual void RoundedWindow::drawWindow(KWin::EffectWindow*, int, const QRegion&, KWin::WindowPaintData&)’:
/home/cararetoalonso/Downloads/devs/cutefishdesktop/kwin-plugins/plugins/roundedwindow/roundedwindow.cpp:284:32: error: ‘class KWin::WindowPaintData’ has no member named ‘quads’
284 | || !hasShadow(data.quads)) {
| ^~~~~
make[2]: *** [plugins/roundedwindow/CMakeFiles/roundedwindow.dir/build.make:116: plugins/roundedwindow/CMakeFiles/roundedwindow.dir/roundedwindow.cpp.o] Erro 1
make[1]: *** [CMakeFiles/Makefile2:292: plugins/roundedwindow/CMakeFiles/roundedwindow.dir/all] Erro 2
make: *** [Makefile:149: all] Erro 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions