Giter Club home page Giter Club logo

pixdecor's People

Contributors

ammen99 avatar okcomput3 avatar soreau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

okcomput3 ammen99

pixdecor's Issues

Error during building

Run-time dependency wayfire found: NO (tried cmake)

meson.build:18:10: ERROR: Dependency lookup for wayfire with method 'pkgconfig' failed: Could not generate cflags for wayfire:
Package glm was not found in the pkg-config search path.
Perhaps you should add the directory containing `glm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glm', required by 'wf-config', not found

This turns up when I was running meson setup build --prefix=/usr, I've installed glm and wayfire packages (tried both AUR and chaotic-aur).

Separate borders from titlebar

Currently border and titlebar are the same background, and the problem is to distinguish different windows if they cover each other, or if a window covers an area of the same color as title background.
The idea is to separate borders from titlebar, so different background color can be set for them, and the window will be better distinguishable.

ninja subcommand failed

os: Arch Linux (zen kernel)
wayfire: 0.8.0-1d6ab59 (Mar 6 2024, branch 'master')
wlroots: 0.17.1-1.1

I got this errors during ninja build:
ninja: Entering directory build' [1/7] Compiling C++ object src/libpixdecor.so.p/deco-layout.cpp.o FAILED: src/libpixdecor.so.p/deco-layout.cpp.o c++ -Isrc/libpixdecor.so.p -Isrc -I../src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libpixdecor.so.p/deco-layout.cpp.o -MF src/libpixdecor.so.p/deco-layout.cpp.o.d -o src/libpixdecor.so.p/deco-layout.cpp.o -c ../src/deco-layout.cpp In file included from ../src/deco-layout.cpp:5: /usr/include/wayfire/nonstd/wlroots-full.hpp:35:10: fatal error: wlr/types/wlr_output_damage.h: No such file or directory 35 | #include <wlr/types/wlr_output_damage.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [2/7] Compiling C++ object src/libpixdecor.so.p/deco-theme.cpp.o FAILED: src/libpixdecor.so.p/deco-theme.cpp.o c++ -Isrc/libpixdecor.so.p -Isrc -I../src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libpixdecor.so.p/deco-theme.cpp.o -MF src/libpixdecor.so.p/deco-theme.cpp.o.d -o src/libpixdecor.so.p/deco-theme.cpp.o -c ../src/deco-theme.cpp In file included from /usr/include/wlr/types/wlr_output.h:17, from /usr/include/wayfire/nonstd/wlroots.hpp:56, from /usr/include/wayfire/geometry.hpp:5, from /usr/include/wayfire/output.hpp:4, from /usr/include/wayfire/render-manager.hpp:3, from ../src/deco-theme.hpp:3, from ../src/deco-theme.cpp:1: /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected primary-expression before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘]’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘)’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ~ ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected initializer before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected primary-expression before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘]’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘)’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:88:24: note: to match this ‘(’ 88 | bool wlr_render_texture(struct wlr_renderer *r, struct wlr_texture *texture, | ^ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected initializer before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected primary-expression before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘]’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘)’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:93:36: note: to match this ‘(’ 93 | bool wlr_render_texture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected initializer before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected primary-expression before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘]’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘)’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:99:39: note: to match this ‘(’ 99 | bool wlr_render_subtexture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected initializer before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected primary-expression before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘]’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘)’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:105:21: note: to match this ‘(’ 105 | void wlr_render_rect(struct wlr_renderer *r, const struct wlr_box *box, | ^ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected initializer before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected primary-expression before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘]’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘)’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:110:33: note: to match this ‘(’ 110 | void wlr_render_quad_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected initializer before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ [3/7] Compiling C++ object src/libpixdecor.so.p/deco-effects.cpp.o FAILED: src/libpixdecor.so.p/deco-effects.cpp.o c++ -Isrc/libpixdecor.so.p -Isrc -I../src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libpixdecor.so.p/deco-effects.cpp.o -MF src/libpixdecor.so.p/deco-effects.cpp.o.d -o src/libpixdecor.so.p/deco-effects.cpp.o -c ../src/deco-effects.cpp In file included from /usr/include/wlr/types/wlr_output.h:17, from /usr/include/wayfire/nonstd/wlroots.hpp:56, from /usr/include/wayfire/geometry.hpp:5, from /usr/include/wayfire/region.hpp:4, from /usr/include/wayfire/opengl.hpp:4, from /usr/include/wayfire/scene.hpp:3, from /usr/include/wayfire/debug.hpp:11, from ../src/deco-effects.cpp:31: /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected primary-expression before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘]’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘)’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ~ ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected initializer before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected primary-expression before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘]’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘)’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:88:24: note: to match this ‘(’ 88 | bool wlr_render_texture(struct wlr_renderer *r, struct wlr_texture *texture, | ^ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected initializer before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected primary-expression before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘]’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘)’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:93:36: note: to match this ‘(’ 93 | bool wlr_render_texture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected initializer before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected primary-expression before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘]’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘)’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:99:39: note: to match this ‘(’ 99 | bool wlr_render_subtexture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected initializer before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected primary-expression before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘]’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘)’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:105:21: note: to match this ‘(’ 105 | void wlr_render_rect(struct wlr_renderer *r, const struct wlr_box *box, | ^ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected initializer before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected primary-expression before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘]’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘)’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:110:33: note: to match this ‘(’ 110 | void wlr_render_quad_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected initializer before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ [4/7] Compiling C++ object src/libpixdecor.so.p/deco-button.cpp.o FAILED: src/libpixdecor.so.p/deco-button.cpp.o c++ -Isrc/libpixdecor.so.p -Isrc -I../src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libpixdecor.so.p/deco-button.cpp.o -MF src/libpixdecor.so.p/deco-button.cpp.o.d -o src/libpixdecor.so.p/deco-button.cpp.o -c ../src/deco-button.cpp In file included from /usr/include/wlr/types/wlr_output.h:17, from /usr/include/wayfire/nonstd/wlroots.hpp:56, from /usr/include/wayfire/geometry.hpp:5, from /usr/include/wayfire/region.hpp:4, from /usr/include/wayfire/opengl.hpp:4, from ../src/deco-button.hpp:5, from ../src/deco-button.cpp:1: /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected primary-expression before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘]’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘)’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ~ ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected initializer before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected primary-expression before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘]’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘)’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:88:24: note: to match this ‘(’ 88 | bool wlr_render_texture(struct wlr_renderer *r, struct wlr_texture *texture, | ^ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected initializer before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected primary-expression before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘]’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘)’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:93:36: note: to match this ‘(’ 93 | bool wlr_render_texture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected initializer before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected primary-expression before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘]’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘)’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:99:39: note: to match this ‘(’ 99 | bool wlr_render_subtexture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected initializer before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected primary-expression before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘]’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘)’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:105:21: note: to match this ‘(’ 105 | void wlr_render_rect(struct wlr_renderer *r, const struct wlr_box *box, | ^ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected initializer before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected primary-expression before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘]’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘)’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:110:33: note: to match this ‘(’ 110 | void wlr_render_quad_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected initializer before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ [5/7] Compiling C++ object src/libpixdecor.so.p/decoration.cpp.o FAILED: src/libpixdecor.so.p/decoration.cpp.o c++ -Isrc/libpixdecor.so.p -Isrc -I../src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libpixdecor.so.p/decoration.cpp.o -MF src/libpixdecor.so.p/decoration.cpp.o.d -o src/libpixdecor.so.p/decoration.cpp.o -c ../src/decoration.cpp In file included from /usr/include/wlr/types/wlr_output.h:17, from /usr/include/wayfire/nonstd/wlroots.hpp:56, from /usr/include/wayfire/geometry.hpp:5, from /usr/include/wayfire/view.hpp:11, from /usr/include/wayfire/signal-definitions.hpp:5, from /usr/include/wayfire/per-output-plugin.hpp:2, from ../src/decoration.cpp:1: /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected primary-expression before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘]’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘)’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ~ ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected initializer before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected primary-expression before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘]’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘)’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:88:24: note: to match this ‘(’ 88 | bool wlr_render_texture(struct wlr_renderer *r, struct wlr_texture *texture, | ^ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected initializer before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected primary-expression before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘]’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘)’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:93:36: note: to match this ‘(’ 93 | bool wlr_render_texture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected initializer before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected primary-expression before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘]’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘)’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:99:39: note: to match this ‘(’ 99 | bool wlr_render_subtexture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected initializer before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected primary-expression before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘]’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘)’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:105:21: note: to match this ‘(’ 105 | void wlr_render_rect(struct wlr_renderer *r, const struct wlr_box *box, | ^ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected initializer before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected primary-expression before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘]’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘)’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:110:33: note: to match this ‘(’ 110 | void wlr_render_quad_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected initializer before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ [6/7] Compiling C++ object src/libpixdecor.so.p/deco-subsurface.cpp.o FAILED: src/libpixdecor.so.p/deco-subsurface.cpp.o c++ -Isrc/libpixdecor.so.p -Isrc -I../src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libpixdecor.so.p/deco-subsurface.cpp.o -MF src/libpixdecor.so.p/deco-subsurface.cpp.o.d -o src/libpixdecor.so.p/deco-subsurface.cpp.o -c ../src/deco-subsurface.cpp In file included from /usr/include/wlr/types/wlr_output.h:17, from /usr/include/wayfire/nonstd/wlroots.hpp:56, from /usr/include/wayfire/geometry.hpp:5, from ../src/deco-subsurface.cpp:1: /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected primary-expression before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘]’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘)’ before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ~ ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:78:67: error: expected initializer before ‘static’ 78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected primary-expression before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘]’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected ‘)’ before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:88:24: note: to match this ‘(’ 88 | bool wlr_render_texture(struct wlr_renderer *r, struct wlr_texture *texture, | ^ /usr/include/wlr/render/wlr_renderer.h:89:32: error: expected initializer before ‘static’ 89 | const float projection[static 9], int x, int y, float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected primary-expression before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘]’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected ‘)’ before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:93:36: note: to match this ‘(’ 93 | bool wlr_render_texture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:94:57: error: expected initializer before ‘static’ 94 | struct wlr_texture *texture, const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected primary-expression before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘]’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected ‘)’ before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:99:39: note: to match this ‘(’ 99 | bool wlr_render_subtexture_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:101:28: error: expected initializer before ‘static’ 101 | const float matrix[static 9], float alpha); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected primary-expression before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘]’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected ‘)’ before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:105:21: note: to match this ‘(’ 105 | void wlr_render_rect(struct wlr_renderer *r, const struct wlr_box *box, | ^ /usr/include/wlr/render/wlr_renderer.h:106:27: error: expected initializer before ‘static’ 106 | const float color[static 4], const float projection[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected primary-expression before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘]’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ] /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected ‘)’ before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ | ) /usr/include/wlr/render/wlr_renderer.h:110:33: note: to match this ‘(’ 110 | void wlr_render_quad_with_matrix(struct wlr_renderer *r, | ^ /usr/include/wlr/render/wlr_renderer.h:111:27: error: expected initializer before ‘static’ 111 | const float color[static 4], const float matrix[static 9]); | ^~~~~~ ninja: build stopped: subcommand failed.

Window buttons are not visible

Current implementation expects a specific set of files to be installed, which can be absent in several distributions.

Observed: Black squares instead of maximize, minimize and close buttons

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.