soreau / pixdecor Goto Github PK
View Code? Open in Web Editor NEWPixdecor plugin
License: MIT License
Pixdecor plugin
License: MIT License
Just wanted to see if this was possible.
Thanks
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).
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.
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.
I observe window title is written with a very tiny font. An attempt to increase org.gnome.desktop.interface/font-name leads to unproportional font rendered in other places.
I think it will be nice to expose the font size parameter in wcm.
https://github.com/soreau/pixdecor/blob/master/src/deco-theme.cpp#L206
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.