fluix-dev / sway-borders Goto Github PK
View Code? Open in Web Editor NEWThis project forked from swaywm/sway
Fork of sway with some extra features, mainly related to borders.
Home Page: https://swaywm.org/
License: MIT License
This project forked from swaywm/sway
Fork of sway with some extra features, mainly related to borders.
Home Page: https://swaywm.org/
License: MIT License
For example, a window closing animation, a workspace moving animation, etc.
Sway Version:
sway version 1.5-e9fa9821 (Jan 31 2021, branch 'master')
Debug Log:
log
Configuration File:
config
Description:
Erratic behaviour with shadows on using albert launcher, who dynamically adjust its height based on search result elements.
To reproduce, run albert launcher and search a query, issue occurs when it adjust its height. easy to reproduce on a blank workspace, normally dosnt happen if there are more than one tiled windows in background.
Implement rounded corners into sway. The sway devs have said they don't have interest in maintaining the code even if it was made fully functional via a PR. Could be used for making everything look better
Hi, loving this package on arch, Is it possible to use it on nixos as well?
This script should have options for:
[daniel@arch ~]$ yay sway-borders-git
1 aur/sway-borders-git r6976.8fba9c04-1 (+3 0.02)
Fork of Sway with some additional (mostly graphical) features
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] sway-borders-git-r6976.8fba9c04-1
1 sway-borders-git (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD up to date, Skipping (1/0): sway-borders-git
1 sway-borders-git (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: sway-borders-git
==> Making package: sway-borders-git r6976.8fba9c04-1 (Tue 19 Apr 2022 10:49:59 AM UTC)
==> Retrieving sources...
-> Updating sway-borders git repo...
Fetching origin
-> Found 50-systemd-user.conf
==> Validating source files with sha512sums...
sway-borders ... Skipped
50-systemd-user.conf ... Passed
==> Making package: sway-borders-git r6976.8fba9c04-1 (Tue 19 Apr 2022 10:50:02 AM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating sway-borders git repo...
Fetching origin
-> Found 50-systemd-user.conf
==> Validating source files with sha512sums...
sway-borders ... Skipped
50-systemd-user.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of sway-borders git repo...
Cloning into 'sway-borders'...
done.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: sway-borders-git r6976.8fba9c04-1 (Tue 19 Apr 2022 10:50:05 AM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -Dsd-bus-provider=libsystemd -Dwerror=false sway-borders build
The Meson build system
Version: 0.62.0
Source dir: /home/daniel/.cache/yay/sway-borders-git/src/sway-borders
Build dir: /home/daniel/.cache/yay/sway-borders-git/src/build
Build type: native build
Project name: sway
Project version: 1.8-dev
C compiler for the host machine: cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Neither a subproject directory nor a wlroots.wrap file was found.
Subproject wlroots is buildable: NO (disabling)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency json-c found: YES 0.15
Run-time dependency libpcre2-8 found: YES 10.39
Run-time dependency wayland-server found: YES 1.20.0
Run-time dependency wayland-client found: YES 1.20.0
Run-time dependency wayland-cursor found: YES 1.20.0
Run-time dependency wayland-egl found: YES 18.1.0
Run-time dependency wayland-protocols found: YES 1.25
Run-time dependency wlroots found: YES 0.16.0
Run-time dependency xkbcommon found: YES 1.4.0
Run-time dependency cairo found: YES 1.17.6
Run-time dependency pango found: YES 1.50.7
Run-time dependency pangocairo found: YES 1.50.7
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.8
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency glesv2 found: YES 3.2
Run-time dependency libevdev found: YES 1.12.1
Run-time dependency libinput found: YES 1.20.0
Run-time dependency xcb found: YES 1.14
Run-time dependency libdrm found: YES 2.4.110
Run-time dependency libudev found: YES 250
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Library m found: YES
Library rt found: YES
Run-time dependency libsystemd found: YES 250
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Build-time dependency scdoc found: YES 1.11.2
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Program git found: YES (/usr/bin/git)
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
Configuring config.h using configuration
Build-time dependency wayland-scanner found: YES 1.20.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Configuring config using configuration
Build targets in project: 40
sway 1.8-dev
xwayland : YES
gdk-pixbuf : YES
tray : YES
man-pages : YES
Subprojects
wlroots : NO Neither a subproject directory nor a wlroots.wrap file was found.
User defined options
auto_features : enabled
buildtype : plain
libexecdir : lib
prefix : /usr
sbindir : bin
werror : false
wrap_mode : nodownload
b_lto : true
b_pie : true
sd-bus-provider: libsystemd
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `/home/daniel/.cache/yay/sway-borders-git/src/build'
[264/284] Compiling C object sway/sway.p/desktop_xwayland.c.o
FAILED: sway/sway.p/desktop_xwayland.c.o
cc -Isway/sway.p -Isway -I../sway-borders/sway -Iinclude -I../sway-borders/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/local/include -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.8-dev-8fba9c04 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-borders/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/daniel/.cache/yay/sway-borders-git/src=/usr/src/debug -fPIE -pthread -MD -MQ sway/sway.p/desktop_xwayland.c.o -MF sway/sway.p/desktop_xwayland.c.o.d -o sway/sway.p/desktop_xwayland.c.o -c ../sway-borders/sway/desktop/xwayland.c
../sway-borders/sway/desktop/xwayland.c: In function ‘wants_floating’:
../sway-borders/sway/desktop/xwayland.c:314:62: warning: initialization of ‘struct wlr_xwayland_surface_size_hints *’ from incompatible pointer type ‘xcb_size_hints_t *’ [-Wincompatible-pointer-types]
314 | struct wlr_xwayland_surface_size_hints *size_hints = surface->size_hints;
| ^~~~~~~
../sway-borders/sway/desktop/xwayland.c:316:35: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
316 | size_hints->min_width > 0 && size_hints->min_height > 0 &&
| ^~
../sway-borders/sway/desktop/xwayland.c:316:64: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
316 | size_hints->min_width > 0 && size_hints->min_height > 0 &&
| ^~
../sway-borders/sway/desktop/xwayland.c:317:36: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
317 | (size_hints->max_width == size_hints->min_width ||
| ^~
../sway-borders/sway/desktop/xwayland.c:317:61: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
317 | (size_hints->max_width == size_hints->min_width ||
| ^~
../sway-borders/sway/desktop/xwayland.c:318:35: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
318 | size_hints->max_height == size_hints->min_height)) {
| ^~
../sway-borders/sway/desktop/xwayland.c:318:61: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
318 | size_hints->max_height == size_hints->min_height)) {
| ^~
../sway-borders/sway/desktop/xwayland.c: In function ‘get_constraints’:
../sway-borders/sway/desktop/xwayland.c:368:62: warning: initialization of ‘struct wlr_xwayland_surface_size_hints *’ from incompatible pointer type ‘xcb_size_hints_t *’ [-Wincompatible-pointer-types]
368 | struct wlr_xwayland_surface_size_hints *size_hints = surface->size_hints;
| ^~~~~~~
../sway-borders/sway/desktop/xwayland.c:378:32: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
378 | *min_width = size_hints->min_width > 0 ? size_hints->min_width : DBL_MIN;
| ^~
../sway-borders/sway/desktop/xwayland.c:378:60: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
378 | *min_width = size_hints->min_width > 0 ? size_hints->min_width : DBL_MIN;
| ^~
../sway-borders/sway/desktop/xwayland.c:379:32: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
379 | *max_width = size_hints->max_width > 0 ? size_hints->max_width : DBL_MAX;
| ^~
../sway-borders/sway/desktop/xwayland.c:379:60: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
379 | *max_width = size_hints->max_width > 0 ? size_hints->max_width : DBL_MAX;
| ^~
../sway-borders/sway/desktop/xwayland.c:380:33: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
380 | *min_height = size_hints->min_height > 0 ? size_hints->min_height : DBL_MIN;
| ^~
../sway-borders/sway/desktop/xwayland.c:380:62: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
380 | *min_height = size_hints->min_height > 0 ? size_hints->min_height : DBL_MIN;
| ^~
../sway-borders/sway/desktop/xwayland.c:381:33: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
381 | *max_height = size_hints->max_height > 0 ? size_hints->max_height : DBL_MAX;
| ^~
../sway-borders/sway/desktop/xwayland.c:381:62: error: invalid use of undefined type ‘struct wlr_xwayland_surface_size_hints’
381 | *max_height = size_hints->max_height > 0 ? size_hints->max_height : DBL_MAX;
| ^~
../sway-borders/sway/desktop/xwayland.c: In function ‘handle_set_hints’:
../sway-borders/sway/desktop/xwayland.c:687:22: error: ‘struct wlr_xwayland_surface’ has no member named ‘hints_urgency’
687 | if (!xsurface->hints_urgency && view->urgent_timer) {
| ^~
../sway-borders/sway/desktop/xwayland.c:694:53: error: ‘struct wlr_xwayland_surface’ has no member named ‘hints_urgency’
694 | view_set_urgent(view, (bool)xsurface->hints_urgency);
| ^~
[265/284] Compiling C object swaybar/swaybar.p/input.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: sway-borders-git
Sway Version:
sway version 1.8-dev-5734188f (May 5 2022, branch 'master')
Configuration File:
border_images.focused ~/.config/sway/borders/focused.png
border_images.focused_inactive ~/.config/sway/borders/focused_inactive.png
border_images.unfocused ~/.config/sway/borders/unfocused.png
border_images.urgent ~/.config/sway/borders/urgent.png
I'm not sure if this is actually a bug or working as you intended so I will post only a little detail now. There is no discussions area so I don't know where else to ask this.
If you determine it is an actual bug I can gather the rest of the information.
After switching to sway-borders (arch aur sway-borders-git) and adding border images, I seem to have lost the ability to have any amount of gap. In fact the borders in windows now overlap with each other.
I've tried setting gaps as high as 100 but no gaps ever appear.
gaps outer 100
gaps inner 100
Am I misunderstanding how to retain gaps when using sway-borders?
note: I am using the border images from https://github.com/fluix-dev/dotfiles.git repo.
Even if I comment out the border images and reload, my gaps inner and gaps outer settings seem to do nothing.
This enhancement request is not relevant to upstream, as it relates specifically to demonstrating features of this fork.
README.md
should include screenshots of border styles and other features distinct from swaywm
. These are the principle difference from Sway.Sway Version:
sway version 1.5-64ea407f (Dec 14 2020, branch 'master')
(from sway-borders-git in aur)
Debug Log:
https://gist.github.com/acly7946/b35dd3ade136011b4bb8f37bf6d257a2
Configuration File:
default, with border images from contrib added
Description:
With 'normal' border aka titlebar enabled, moving a floating window will leave a trail of border image from the top.
Sway Version:
sway version 1.5-e9fa9821 (Jan 31 2021, branch 'master')
Debug Log:
sway.log
Configuration File:
config
Problem
waybar, both git and release version ) taking almost 25 seconds to reload, on default and current config. On reloading sway, bar disappears and comes back after ~25 seconds with/out default ( none ) config
Here's the waybar log if it helps
No such issue in sway-git upstream
To check, I installed sway-borders after removing sway, and weirdly it didn't start after quiting sway, but only after a restart
unlike on sway master, something is causing vscode to crash when using --enable-features=UseOzonePlatform --ozone-platform=wayland
works fine if running via xwayland
Right now, the focused
class applies to all containers instead of getting the appropriate class for a container.
Is there a way we can apply these border texture to other surfaces, like status bar and notifications ?
Is it possible to theme the titlebars separately from the borders? i.e. when the title can be seen.
I'd like to create a windows 95 theme.
Sway Version:
sway version 1.5-88b86ea3 (Mar 15 2021, branch 'master')
Debug Log:
https://gist.github.com/GorrillaRibs/b00c7a103b2fe73ce72944ad0dc929ec
Configuration File:
https://gist.github.com/GorrillaRibs/f6d815cbc29ec07492b5f43b063982a2
Stack Trace:
https://gist.github.com/GorrillaRibs/758b34f5b6d18e09dab885b4b7e441aa
Description:
Doesn't seem to happen on the latest sway upstream, with the same wlroots version. Maybe related to trying to draw borders on a container that isn't there?
If there's anything else I can do to help debug let me know!
edit: clarified it doesn't happen in regular sway
Sway Version:
Debug Log:
Can't compile due to :
ninja: Entering directory
build'
[456/542] Compiling C object sway/sway.p/server.c.o
FAILED: sway/sway.p/server.c.o
ccache cc -Isway/sway.p -Isway -I../sway -Iinclude -I../include -Isubprojects/wlroots/include -I../subprojects/wlroots/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -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/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//usr/local/etc"' '-DSWAY_VERSION="1.6-93501144 (" DATE ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../= -pthread -MD -MQ sway/sway.p/server.c.o -MF sway/sway.p/server.c.o.d -o sway/sway.p/server.c.o -c ../sway/server.c
../sway/server.c: In function ‘server_init’:
../sway/server.c:226:17: error: implicit declaration of function ‘wlr_headless_backend_create_with_renderer’; did you mean ‘wlr_headless_backend_create’? [-Werror=implicit-function-declaration]
226 | wlr_headless_backend_create_with_renderer(server->wl_display,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| wlr_headless_backend_create
../sway/server.c:225:34: error: assignment to ‘struct wlr_backend *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
225 | server->headless_backend =
| ^
cc1: all warnings being treated as errors
[465/542] Generating symbol file subprojects/wlroots/libwlroots.so.10.p/libwlroots.so.10.symbols
ninja: build stopped: subcommand failed.`
Configuration File:
Stack Trace:
Can't compile to get the binary.
Description:
Hi, Ideally I would to have the same border for everything, and have it controlled through my sway config. Is it possible to tell sway to give wofi/waybar/mako to use borders as well?
What pixel size does the border need to be?
It is still only PNGs, right? Edit: Would SVG be a popular feature?
Are aspect ratios supported, or would that just be a larger 1:1 image with a stretch?
Does color or transparency matter for the borders?
More information about the example pictures would be appreciated as well, such as what kind of blur/gradient the shadows use.
[76/279] Compiling C object sway/sway.p/desktop_xdg_shell.c.o
FAILED: sway/sway.p/desktop_xdg_shell.c.o
cc -Isway/sway.p -Isway -I../sway-borders/sway -Iinclude -I../sway-borders/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -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/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0/ -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.6-51bdc036 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-borders/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/alex/.cache/paru/clone/sway-borders-git/src=/usr/src/debug -fPIE -pthread -MD -MQ sway/sway.p/desktop_xdg_shell.c.o -MF sway/sway.p/desktop_xdg_shell.c.o.d -o sway/sway.p/desktop_xdg_shell.c.o -c ../sway-borders/sway/desktop/xdg_shell.c
../sway-borders/sway/desktop/xdg_shell.c: In function ‘handle_map’:
../sway-borders/sway/desktop/xdg_shell.c:455:38: error: ‘struct wlr_xdg_toplevel’ has no member named ‘client_pending’
455 | xdg_surface->toplevel->client_pending.fullscreen,
| ^~
../sway-borders/sway/desktop/xdg_shell.c:456:38: error: ‘struct wlr_xdg_toplevel’ has no member named ‘client_pending’
456 | xdg_surface->toplevel->client_pending.fullscreen_output,
| ^~
[93/279] Compiling C object sway/sway.p/input_seatop_default.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'sway-borders-git-r6682.7f4a3e0e-1':
error: packages failed to build: sway-borders-git-r6682.7f4a3e0e-1
We should throw an error if the image can't be accessed or can't be created into an image_surface, and we should use expand_path
(or related) so you don't have to use full paths for the border images.
Encountering an error when trying to compile Sway-borders. The same error occurs when building manually and when using the AUR.
Bellow is the output of both ninja -C build
and paru -S sway-borders-git
:
ninja-output.txt
paru-output.txt
Meson version: 0.58.1
Ninja version: 1.10.2
Sway Version: Latest git (1.5-93318d2)
Debug Log:
here. This was produced using the default configuration, but occurs using my own config too.
Configuration File:
Default configuration file (config.in
in this repo)
Stack Trace:
here.
Description:
Running sway works fine, but when launching a terminal (Mod+Enter) or other applications through my launcher, it crashes and drops me back into the tty. Notably things that wouldn't have borders applied (swaybar, waybar, rofi-wayland, wofi, etc.) a.k.a programs using wlr-layer-shell (i believe) display fine.
I'm pretty sure there's definitely a way to do this but using the for window [ app id ] etc;
then using for example border pixel 1
or border none
doesn't remove the image borders.
I tried it without the image border ( on this fork just using normal border) and it worked fine.
sway version 1.5-64ea407f (Dec 18 2020, branch 'master')
for_window [app_id="avizo-service"] floating enable, border none
This removes the border if i'm using normal borders but not when I'm using the images. I'm guessing there's perhaps another variable I should use but it's not documented....
#Borders
gaps inner 28
gaps outer -8
default_border none
border_images.focused ~/.config/sway/borders/focused.png
border_images.focused_inactive ~/.config/sway/borders/focused_inactive.png
border_images.unfocused ~/.config/sway/borders/unfocused.png
border_images.urgent ~/.config/sway/borders/urgent.png
Details are here.
Shadows of a floating windows disappear if all the tiled windows in that workspace are tabbed
when I switch layout from tabbed to tiled, they came back. not sure what is happening
I tried to set shadow
for window with specific app_id
for example but all windows still have shadow
set, how to avoid this?
for_window [app_id="abc"] border_images.focused shadows.png
The issue is demonstrated in this image:
In my config, shown in the screenshot, I've set each border image (focused, unfocused, unfocused_inactive, and urgent) to different colors. As you can see, each of those files are different.
However, even though each of the border images are different, the border images for all borders are set to focused, regardless if they are actually focused.
It looks like there hasn't been a stable release tag since 1.4, would it be feasible to maintain release tag parity with Sway so we can have a stable AUR package and not have to rely on wlroots-git?
any hope for inner round corners yet ? it will be awesome to have round corners for floating windows without any border
Sway Version:
swaymsg -t get_version
or sway -v
Debug Log:
sway -d 2> ~/sway.log
from a TTY and upload it to a pastebin, such as gist.github.com.Configuration File:
Stack Trace:
coredumpctl gdb sway
and then bt full
to obtain the stack trace.??
for the location, your binaries were built without debug symbols. Please compile both sway and wlroots from source and try to reproduce.Description:
since you are mostly adding visually pleasing features to sway, how about you call the result "swag"?
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccK2opPD.ltrans1.ltrans.o: in function handle_output_destroy': <artificial>:(.text+0x8d03): undefined reference to
wlr_layer_surface_v1_close'
/usr/bin/ld: /tmp/ccK2opPD.ltrans1.ltrans.o: in function handle_layer_shell_surface': <artificial>:(.text+0x90a4): undefined reference to
wlr_layer_surface_v1_close'
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccK2opPD.ltrans7.ltrans.o: in function arrange_layer.isra.0': <artificial>:(.text+0x550c): undefined reference to
wlr_layer_surface_v1_close'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: An error occurred in build(). The operation is about to be aborted...
error making: sway-borders-git
yay -S sway-borders-git
When I'm running that command, make exits with error on compilation of 254 C object:
...
[252/279] Compiling C object sway/sway.p/tree_view.c.o
FAILED: sway/sway.p/tree_view.c.o
cc -Isway/sway.p -Isway -I../sway-borders/sway -Iinclude -I../sway-borders/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -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/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0/ -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.6-2512828b (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-borders/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/claes/.cache/yay/sway-borders-git/src=/usr/src/debug -fPIE -pthread -MD -MQ sway/sway.p/tree_view.c.o -MF sway/sway.p/tree_view.c.o.d -o sway/sway.p/tree_view.c.o -c ../sway-borders/sway/tree/view.c
In file included from /usr/include/wayland-server-core.h:32,
from ../sway-borders/sway/tree/view.c:4:
../sway-borders/sway/tree/view.c: In function ‘view_init_subsurfaces’:
../sway-borders/sway/tree/view.c:1041:46: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
1041 | wl_list_for_each(subsurface, &surface->subsurfaces_below, parent_link) {
| ^~
...
Full execution flow available here
Getting this error when building from AUR, seems that wlroots-git
had its package version number updated causing the build to fail:
The Meson build system
Version: 0.60.2
Source dir: /home/annabel/.cache/paru/clone/sway-borders-git/src/sway-borders
Build dir: /home/annabel/.cache/paru/clone/sway-borders-git/src/build
Build type: native build
Project name: sway
Project version: 1.6
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency json-c found: YES 0.15
Run-time dependency libpcre found: YES 8.45
Run-time dependency wayland-server found: YES 1.20.0
Run-time dependency wayland-client found: YES 1.20.0
Run-time dependency wayland-cursor found: YES 1.20.0
Run-time dependency wayland-egl found: YES 18.1.0
Run-time dependency wayland-protocols found: YES 1.24
Run-time dependency xkbcommon found: YES 1.3.1
Run-time dependency cairo found: YES 1.17.4
Run-time dependency pango found: YES 1.50.2
Run-time dependency pangocairo found: YES 1.50.2
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency glesv2 found: YES 3.2
Run-time dependency libevdev found: YES 1.12.0
Run-time dependency libinput found: YES 1.19.3
Run-time dependency xcb found: YES 1.14
Run-time dependency libdrm found: YES 2.4.109
Run-time dependency libudev found: YES 249
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Library m found: YES
Library rt found: YES
Neither a subproject directory nor a wlroots.wrap file was found.
Subproject wlroots is buildable: NO (disabling)
Dependency wlroots found: NO found 0.16.0 but need: '<0.16.0' ; matched: '>=0.15.0'
Run-time dependency wlroots found: NO (tried cmake)
sway-borders/meson.build:74:1: ERROR: Invalid version of dependency, need 'wlroots' ['<0.16.0'] found '0.16.0'.
A full log can be found at /home/annabel/.cache/paru/clone/sway-borders-git/src/build/meson-logs/meson-log.txt
When using Sway / i3-gaps and smart_gaps on
and smart_borders on
the gaps and border is removed if only one window is present in the workspace.
Currently, when I have one window, the gap is correctly removed but not the sway-borders. Do you think it would be possible to make it behave like upstream with the normal borders?
Btw, thanks so much for this fork. I really like sway and previously the pure windows flatness was the only reason taking me back to i3+compositor :) Now I feel comfy using sway!
I'm currently want to merge your PR, but seem it gets involve a bit out of original PR.
Can you help to create PR in this repo? https://github.com/tmpm697/Swea/issues/1
To me Sway is the defacto Wayland window manager for being productive, despite this the developers don't seem to have a high priority for swaywm#4882. Perhaps this fork would be more receptive to adding this
This includes the cairo image surface and texture itself.
Getting following error trying to build from the AUR
[279/279] Linking target sway/sway FAILED: sway/sway cc -o sway/sway sway/sway.p/commands.c.o sway/sway.p/config.c.o sway/sway.p/criteria.c.o sway/sway.p/decoration.c.o sway/sway.p/ipc-json.c.o sway/sway.p/ipc-server.c.o sway/sway.p/main.c.o sway/sway.p/server.c.o sway/sway.p/swaynag.c.o sway/sway.p/xdg_activation_v1.c.o sway/sway.p/xdg_decoration.c.o sway/sway.p/desktop_desktop.c.o sway/sway.p/desktop_idle_inhibit_v1.c.o sway/sway.p/desktop_layer_shell.c.o sway/sway.p/desktop_output.c.o sway/sway.p/desktop_render.c.o sway/sway.p/desktop_surface.c.o sway/sway.p/desktop_transaction.c.o sway/sway.p/desktop_xdg_shell.c.o sway/sway.p/input_input-manager.c.o sway/sway.p/input_cursor.c.o sway/sway.p/input_keyboard.c.o sway/sway.p/input_libinput.c.o sway/sway.p/input_seat.c.o sway/sway.p/input_seatop_default.c.o sway/sway.p/input_seatop_down.c.o sway/sway.p/input_seatop_move_floating.c.o sway/sway.p/input_seatop_move_tiling.c.o sway/sway.p/input_seatop_resize_floating.c.o sway/sway.p/input_seatop_resize_tiling.c.o sway/sway.p/input_switch.c.o sway/sway.p/input_tablet.c.o sway/sway.p/input_text_input.c.o sway/sway.p/config_bar.c.o sway/sway.p/config_output.c.o sway/sway.p/config_seat.c.o sway/sway.p/config_input.c.o sway/sway.p/commands_assign.c.o sway/sway.p/commands_bar.c.o sway/sway.p/commands_bind.c.o sway/sway.p/commands_border.c.o sway/sway.p/commands_border_images.c.o sway/sway.p/commands_client.c.o sway/sway.p/commands_create_output.c.o sway/sway.p/commands_default_border.c.o sway/sway.p/commands_default_floating_border.c.o sway/sway.p/commands_default_orientation.c.o sway/sway.p/commands_exit.c.o sway/sway.p/commands_exec.c.o sway/sway.p/commands_exec_always.c.o sway/sway.p/commands_floating.c.o sway/sway.p/commands_floating_minmax_size.c.o sway/sway.p/commands_floating_modifier.c.o sway/sway.p/commands_focus.c.o sway/sway.p/commands_focus_follows_mouse.c.o sway/sway.p/commands_focus_on_window_activation.c.o sway/sway.p/commands_focus_wrapping.c.o sway/sway.p/commands_font.c.o sway/sway.p/commands_for_window.c.o sway/sway.p/commands_force_display_urgency_hint.c.o sway/sway.p/commands_force_focus_wrapping.c.o sway/sway.p/commands_fullscreen.c.o sway/sway.p/commands_gaps.c.o sway/sway.p/commands_hide_edge_borders.c.o sway/sway.p/commands_inhibit_idle.c.o sway/sway.p/commands_kill.c.o sway/sway.p/commands_mark.c.o sway/sway.p/commands_max_render_time.c.o sway/sway.p/commands_opacity.c.o sway/sway.p/commands_include.c.o sway/sway.p/commands_input.c.o sway/sway.p/commands_layout.c.o sway/sway.p/commands_mode.c.o sway/sway.p/commands_mouse_warping.c.o sway/sway.p/commands_move.c.o sway/sway.p/commands_new_float.c.o sway/sway.p/commands_new_window.c.o sway/sway.p/commands_no_focus.c.o sway/sway.p/commands_nop.c.o sway/sway.p/commands_output.c.o sway/sway.p/commands_popup_during_fullscreen.c.o sway/sway.p/commands_reload.c.o sway/sway.p/commands_rename.c.o sway/sway.p/commands_resize.c.o sway/sway.p/commands_scratchpad.c.o sway/sway.p/commands_seat.c.o sway/sway.p/commands_seat_attach.c.o sway/sway.p/commands_seat_cursor.c.o sway/sway.p/commands_seat_fallback.c.o sway/sway.p/commands_seat_hide_cursor.c.o sway/sway.p/commands_seat_idle.c.o sway/sway.p/commands_seat_keyboard_grouping.c.o sway/sway.p/commands_seat_pointer_constraint.c.o sway/sway.p/commands_seat_shortcuts_inhibitor.c.o sway/sway.p/commands_seat_xcursor_theme.c.o sway/sway.p/commands_set.c.o sway/sway.p/commands_show_marks.c.o sway/sway.p/commands_shortcuts_inhibitor.c.o sway/sway.p/commands_smart_borders.c.o sway/sway.p/commands_smart_gaps.c.o sway/sway.p/commands_split.c.o sway/sway.p/commands_sticky.c.o sway/sway.p/commands_swaybg_command.c.o sway/sway.p/commands_swaynag_command.c.o sway/sway.p/commands_swap.c.o sway/sway.p/commands_tiling_drag.c.o sway/sway.p/commands_tiling_drag_threshold.c.o sway/sway.p/commands_title_align.c.o sway/sway.p/commands_title_format.c.o sway/sway.p/commands_titlebar_border_thickness.c.o sway/sway.p/commands_titlebar_padding.c.o sway/sway.p/commands_unmark.c.o sway/sway.p/commands_urgent.c.o sway/sway.p/commands_workspace.c.o sway/sway.p/commands_workspace_layout.c.o sway/sway.p/commands_ws_auto_back_and_forth.c.o sway/sway.p/commands_xwayland.c.o sway/sway.p/commands_bar_bind.c.o sway/sway.p/commands_bar_binding_mode_indicator.c.o sway/sway.p/commands_bar_colors.c.o sway/sway.p/commands_bar_font.c.o sway/sway.p/commands_bar_gaps.c.o sway/sway.p/commands_bar_height.c.o sway/sway.p/commands_bar_hidden_state.c.o sway/sway.p/commands_bar_icon_theme.c.o sway/sway.p/commands_bar_id.c.o sway/sway.p/commands_bar_mode.c.o sway/sway.p/commands_bar_modifier.c.o sway/sway.p/commands_bar_output.c.o sway/sway.p/commands_bar_pango_markup.c.o sway/sway.p/commands_bar_position.c.o sway/sway.p/commands_bar_separator_symbol.c.o sway/sway.p/commands_bar_status_command.c.o sway/sway.p/commands_bar_status_edge_padding.c.o sway/sway.p/commands_bar_status_padding.c.o sway/sway.p/commands_bar_strip_workspace_numbers.c.o sway/sway.p/commands_bar_strip_workspace_name.c.o sway/sway.p/commands_bar_swaybar_command.c.o sway/sway.p/commands_bar_tray_bind.c.o sway/sway.p/commands_bar_tray_output.c.o sway/sway.p/commands_bar_tray_padding.c.o sway/sway.p/commands_bar_workspace_buttons.c.o sway/sway.p/commands_bar_workspace_min_width.c.o sway/sway.p/commands_bar_wrap_scroll.c.o sway/sway.p/commands_input_accel_profile.c.o sway/sway.p/commands_input_calibration_matrix.c.o sway/sway.p/commands_input_click_method.c.o sway/sway.p/commands_input_drag.c.o sway/sway.p/commands_input_drag_lock.c.o sway/sway.p/commands_input_dwt.c.o sway/sway.p/commands_input_events.c.o sway/sway.p/commands_input_left_handed.c.o sway/sway.p/commands_input_map_from_region.c.o sway/sway.p/commands_input_map_to_output.c.o sway/sway.p/commands_input_map_to_region.c.o sway/sway.p/commands_input_middle_emulation.c.o sway/sway.p/commands_input_natural_scroll.c.o sway/sway.p/commands_input_pointer_accel.c.o sway/sway.p/commands_input_repeat_delay.c.o sway/sway.p/commands_input_repeat_rate.c.o sway/sway.p/commands_input_scroll_button.c.o sway/sway.p/commands_input_scroll_factor.c.o sway/sway.p/commands_input_scroll_method.c.o sway/sway.p/commands_input_tap.c.o sway/sway.p/commands_input_tap_button_map.c.o sway/sway.p/commands_input_tool_mode.c.o sway/sway.p/commands_input_xkb_capslock.c.o sway/sway.p/commands_input_xkb_file.c.o sway/sway.p/commands_input_xkb_layout.c.o sway/sway.p/commands_input_xkb_model.c.o sway/sway.p/commands_input_xkb_numlock.c.o sway/sway.p/commands_input_xkb_options.c.o sway/sway.p/commands_input_xkb_rules.c.o sway/sway.p/commands_input_xkb_switch_layout.c.o sway/sway.p/commands_input_xkb_variant.c.o sway/sway.p/commands_output_adaptive_sync.c.o sway/sway.p/commands_output_background.c.o sway/sway.p/commands_output_disable.c.o sway/sway.p/commands_output_dpms.c.o sway/sway.p/commands_output_enable.c.o sway/sway.p/commands_output_max_render_time.c.o sway/sway.p/commands_output_mode.c.o sway/sway.p/commands_output_position.c.o sway/sway.p/commands_output_scale.c.o sway/sway.p/commands_output_scale_filter.c.o sway/sway.p/commands_output_subpixel.c.o sway/sway.p/commands_output_toggle.c.o sway/sway.p/commands_output_transform.c.o sway/sway.p/tree_arrange.c.o sway/sway.p/tree_container.c.o sway/sway.p/tree_node.c.o sway/sway.p/tree_root.c.o sway/sway.p/tree_view.c.o sway/sway.p/tree_workspace.c.o sway/sway.p/tree_output.c.o sway/sway.p/desktop_xwayland.c.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/elyth/.cache/paru/clone/sway-borders-git/src=/usr/src/debug -Wl,--start-group common/libsway-common.a protocols/libserver_protos.a /usr/lib/libcairo.so /usr/lib/libjson-c.so /usr/lib/libevdev.so /usr/lib/libinput.so /usr/lib/libudev.so -lm /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libharfbuzz.so /usr/lib/libpcre.so /usr/lib/libGLESv2.so /usr/lib/libpixman-1.so /usr/lib/libwayland-server.so /usr/lib/libwlroots.so /usr/lib/libxkbcommon.so /usr/lib/libxcb.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so -Wl,--end-group /usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref /tmp/cc1EBV3B.ltrans7.ltrans.o: in function
render_titlebar_text_texture.constprop.0':
:(.text+0x61af): undefined reference to wlr_backend_get_renderer' /usr/bin/ld: /tmp/cc1EBV3B.ltrans7.ltrans.o: in function
handle_command.part.0.isra.0':
:(.text+0x6e7b): undefined reference to wlr_backend_get_renderer' /usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref /tmp/cc1EBV3B.ltrans1.ltrans.o: in function
scissor_output':
:(.text+0x1ae4): undefined reference to wlr_backend_get_renderer' /usr/bin/ld: /tmp/cc1EBV3B.ltrans1.ltrans.o: in function
render_texture':
:(.text+0x1be3): undefined reference to wlr_backend_get_renderer' /usr/bin/ld: /tmp/cc1EBV3B.ltrans1.ltrans.o: in function
render_rect':
:(.text+0x5a19): undefined reference to wlr_backend_get_renderer' /usr/bin/ld: /tmp/cc1EBV3B.ltrans1.ltrans.o:<artificial>:(.text+0x7d6f): more undefined references to
wlr_backend_get_renderer' follow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'sway-borders-git-r6682.7f4a3e0e-1':
error: packages failed to build: sway-borders-git-r6682.7f4a3e0e-1`
Currently for those who dont use a login manager and run sway from tty using autologin, any error in config ( ie. a typo in image file name ) is making sway endlessly loop from tty. Cant even access other tty as you are switched back to sway tty immediately.
currently only solution is to access the config file using bootable iso and correct the config.
Is is possible to just ignore the shader if the file dont exist ?
If you need more details please tell me what you need, I'm kind of unexperienced in writing issues.
I'm sitting on the newest packages releases in arch but i could not figure out which package is causing problems. I tried to roll back to the package versions from two weeks ago where i still had sway-borders installed, uninstalled it and tried to reinstall, but it was not working. Now I tried in a fresh VM but still no success.
meson -v: 0.56.2
ninja --version: 1.10.2
Down below is the output of ninja -C build
. I figured that pasting the output in here without external formatting would not really be readable. I figured that I could provide the yay -S sway-borders-git
output as well.
ninja-output.txt
aur-output.txt
:: Checking for conflicts...
:: Checking for inner conflicts...
-> Package conflicts found:
-> Installing sway-borders-git will remove: sway
-> Conflicting packages will have to be confirmed manually
[Aur:1] sway-borders-git-r6682.7f4a3e0e-1
1 sway-borders-git (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/0): sway-borders-git
1 sway-borders-git (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: sway-borders-git
==> Making package: sway-borders-git r6682.7f4a3e0e-1 (Do 31 Mär 2022 04:01:00 CEST)
==> Retrieving sources...
-> Updating sway-borders git repo...
Fetching origin
-> Found 50-systemd-user.conf
==> Validating source files with sha512sums...
sway-borders ... Skipped
50-systemd-user.conf ... Passed
==> Making package: sway-borders-git r6682.7f4a3e0e-1 (Do 31 Mär 2022 04:01:03 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating sway-borders git repo...
Fetching origin
-> Found 50-systemd-user.conf
==> Validating source files with sha512sums...
sway-borders ... Skipped
50-systemd-user.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of sway-borders git repo...
Cloning into 'sway-borders'...
done.
==> Starting pkgver()...
==> Updated version: sway-borders-git r6941.a137ee48-1
==> Sources are ready.
==> Making package: sway-borders-git r6941.a137ee48-1 (Do 31 Mär 2022 04:01:07 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -Dsd-bus-provider=libsystemd -Dwerror=false sway-borders build
The Meson build system
Version: 0.62.0
Source dir: /home/citrus/.cache/yay/sway-borders-git/src/sway-borders
Build dir: /home/citrus/.cache/yay/sway-borders-git/src/build
Build type: native build
Project name: sway
Project version: 1.8-dev
C compiler for the host machine: cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Neither a subproject directory nor a wlroots.wrap file was found.
Subproject wlroots is buildable: NO (disabling)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency json-c found: YES 0.15
Run-time dependency libpcre found: YES 8.45
Run-time dependency wayland-server found: YES 1.20.0
Run-time dependency wayland-client found: YES 1.20.0
Run-time dependency wayland-cursor found: YES 1.20.0
Run-time dependency wayland-egl found: YES 18.1.0
Run-time dependency wayland-protocols found: YES 1.25
Run-time dependency wlroots found: YES 0.16.0
Run-time dependency xkbcommon found: YES 1.4.0
Run-time dependency cairo found: YES 1.17.6
Run-time dependency pango found: YES 1.50.6
Run-time dependency pangocairo found: YES 1.50.6
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.8
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency glesv2 found: YES 3.2
Run-time dependency libevdev found: YES 1.12.1
Run-time dependency libinput found: YES 1.20.0
Run-time dependency xcb found: YES 1.14
Run-time dependency libdrm found: YES 2.4.110
Run-time dependency libudev found: YES 250
Run-time dependency bash-completion found: YES 2.11
Found CMake: /usr/bin/cmake (3.22.3)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Library m found: YES
Library rt found: YES
Run-time dependency libsystemd found: YES 250
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Build-time dependency scdoc found: YES 1.11.2
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Program git found: YES (/usr/bin/git)
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
Configuring config.h using configuration
Build-time dependency wayland-scanner found: YES 1.20.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Configuring config using configuration
Build targets in project: 40
sway 1.8-dev
xwayland : YES
gdk-pixbuf : YES
tray : YES
man-pages : YES
Subprojects
wlroots : NO
Neither a subproject directory nor a wlroots.wrap file was found.
User defined options
auto_features : enabled
buildtype : plain
libexecdir : lib
prefix : /usr
sbindir : bin
werror : false
wrap_mode : nodownload
b_lto : true
b_pie : true
sd-bus-provider: libsystemd
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `/home/citrus/.cache/yay/sway-borders-git/src/build'
[62/284] Compiling C object sway/sway.p/decoration.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/sway/decoration.c:6:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[64/284] Compiling C object sway/sway.p/xdg_activation_v1.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/sway/xdg_activation_v1.c:2:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[65/284] Compiling C object sway/sway.p/criteria.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/include/sway/criteria.h:7,
from ../sway-borders/sway/criteria.c:7:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[66/284] Compiling C object sway/sway.p/ipc-json.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/sway/ipc-json.c:14:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/ipc-json.c:18:
../sway-borders/include/sway/input/cursor.h:115:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
115 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[67/284] Compiling C object sway/sway.p/ipc-server.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/include/sway/output.h:9,
from ../sway-borders/sway/ipc-server.c:23:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[68/284] Compiling C object sway/sway.p/commands.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/include/sway/criteria.h:7,
from ../sway-borders/sway/commands.c:11:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[70/284] Compiling C object sway/sway.p/config.c.o
In file included from ../sway-borders/sway/config.c:19:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[71/284] Compiling C object sway/sway.p/desktop_idle_inhibit_v1.c.o
In file included from ../sway-borders/sway/desktop/idle_inhibit_v1.c:5:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[72/284] Compiling C object sway/sway.p/desktop_desktop.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/include/sway/output.h:9,
from ../sway-borders/sway/desktop/desktop.c:3:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[73/284] Compiling C object sway/sway.p/server.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/include/sway/output.h:9,
from ../sway-borders/sway/server.c:43:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[75/284] Compiling C object sway/sway.p/xdg_decoration.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/sway/xdg_decoration.c:5:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[76/284] Compiling C object sway/sway.p/desktop_layer_shell.c.o
In file included from ../sway-borders/include/sway/input/cursor.h:8,
from ../sway-borders/sway/desktop/layer_shell.c:11:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/desktop/layer_shell.c:11:
../sway-borders/include/sway/input/cursor.h:115:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
115 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[77/284] Compiling C object sway/sway.p/commands_unmark.c.o
In file included from ../sway-borders/include/sway/tree/view.h:10,
from ../sway-borders/sway/commands/unmark.c:6:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[79/284] Compiling C object sway/sway.p/desktop_output.c.o
In file included from ../sway-borders/sway/desktop/output.c:24:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[81/284] Compiling C object sway/sway.p/desktop_transaction.c.o
In file included from ../sway-borders/include/sway/input/cursor.h:8,
from ../sway-borders/sway/desktop/transaction.c:11:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/desktop/transaction.c:11:
../sway-borders/include/sway/input/cursor.h:115:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
115 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[82/284] Compiling C object sway/sway.p/input_keyboard.c.o
FAILED: sway/sway.p/input_keyboard.c.o
cc -Isway/sway.p -Isway -I../sway-borders/sway -Iinclude -I../sway-borders/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.8-dev-a137ee48 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-borders/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/citrus/.cache/yay/sway-borders-git/src=/usr/src/debug -fPIE -pthread -MD -MQ sway/sway.p/input_keyboard.c.o -MF sway/sway.p/input_keyboard.c.o.d -o sway/sway.p/input_keyboard.c.o -c ../sway-borders/sway/input/keyboard.c
In file included from ../sway-borders/include/sway/input/keyboard.h:4,
from ../sway-borders/sway/input/keyboard.c:13:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/input/keyboard.c:15:
../sway-borders/include/sway/input/cursor.h:115:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
115 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/input/keyboard.c:404:24: warning: ‘struct wlr_event_keyboard_key’ declared inside parameter list will not be visible outside of this definition or declaration
404 | struct wlr_event_keyboard_key *event) {
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/input/keyboard.c: In function ‘handle_key_event’:
../sway-borders/sway/input/keyboard.c:417:18: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
417 | if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
| ^~
../sway-borders/sway/input/keyboard.c:423:46: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
423 | update_keyboard_state(keyboard, event->keycode, event->state, &keyinfo);
| ^~
../sway-borders/sway/input/keyboard.c:423:62: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
423 | update_keyboard_state(keyboard, event->keycode, event->state, &keyinfo);
| ^~
../sway-borders/sway/input/keyboard.c:446:30: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
446 | event->state == WL_KEYBOARD_KEY_STATE_RELEASED) {
| ^~
../sway-borders/sway/input/keyboard.c:453:38: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
453 | if (binding_released && event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
| ^~
../sway-borders/sway/input/keyboard.c:459:18: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
459 | if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
| ^~
../sway-borders/sway/input/keyboard.c:502:30: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
502 | if (!handled && event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
| ^~
../sway-borders/sway/input/keyboard.c:507:30: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
507 | if (!handled && event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
| ^~
../sway-borders/sway/input/keyboard.c:513:18: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
513 | if (event->state == WL_KEYBOARD_KEY_STATE_RELEASED) {
| ^~
../sway-borders/sway/input/keyboard.c:517:61: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
517 | &keyboard->state_pressed_sent, event->keycode,
| ^~
../sway-borders/sway/input/keyboard.c:518:30: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
518 | event->state, keyinfo.keycode, 0);
| ^~
../sway-borders/sway/input/keyboard.c:520:57: warning: passing argument 2 of ‘wlr_seat_set_keyboard’ from incompatible pointer type [-Wincompatible-pointer-types]
520 | wlr_seat_set_keyboard(wlr_seat, wlr_device);
| ^~~~~~~~~~
| |
| struct wlr_input_device *
In file included from /usr/include/wlr/types/wlr_idle.h:13,
from ../sway-borders/sway/input/keyboard.c:7:
/usr/include/wlr/types/wlr_seat.h:477:72: note: expected ‘struct wlr_keyboard *’ but argument is of type ‘struct wlr_input_device *’
477 | void wlr_seat_set_keyboard(struct wlr_seat *seat, struct wlr_keyboard *keyboard);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../sway-borders/sway/input/keyboard.c:521:69: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
521 | wlr_seat_keyboard_notify_key(wlr_seat, event->time_msec,
| ^~
../sway-borders/sway/input/keyboard.c:522:38: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
522 | event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c:522:54: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
522 | event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c:534:38: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
534 | event->time_msec, event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c:534:56: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
534 | event->time_msec, event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c:534:72: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
534 | event->time_msec, event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c:539:30: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
539 | if (!handled && event->state != WL_KEYBOARD_KEY_STATE_RELEASED) {
| ^~
../sway-borders/sway/input/keyboard.c:543:61: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
543 | &keyboard->state_pressed_sent, event->keycode, event->state,
| ^~
../sway-borders/sway/input/keyboard.c:543:77: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
543 | &keyboard->state_pressed_sent, event->keycode, event->state,
| ^~
../sway-borders/sway/input/keyboard.c:545:49: warning: passing argument 2 of ‘wlr_seat_set_keyboard’ from incompatible pointer type [-Wincompatible-pointer-types]
545 | wlr_seat_set_keyboard(wlr_seat, wlr_device);
| ^~~~~~~~~~
| |
| struct wlr_input_device *
In file included from /usr/include/wlr/types/wlr_idle.h:13,
from ../sway-borders/sway/input/keyboard.c:7:
/usr/include/wlr/types/wlr_seat.h:477:72: note: expected ‘struct wlr_keyboard *’ but argument is of type ‘struct wlr_input_device *’
477 | void wlr_seat_set_keyboard(struct wlr_seat *seat, struct wlr_keyboard *keyboard);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../sway-borders/sway/input/keyboard.c:546:61: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
546 | wlr_seat_keyboard_notify_key(wlr_seat, event->time_msec,
| ^~
../sway-borders/sway/input/keyboard.c:547:38: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
547 | event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c:547:54: error: invalid use of undefined type ‘struct wlr_event_keyboard_key’
547 | event->keycode, event->state);
| ^~
../sway-borders/sway/input/keyboard.c: In function ‘handle_modifier_event’:
../sway-borders/sway/input/keyboard.c:673:57: warning: passing argument 2 of ‘wlr_seat_set_keyboard’ from incompatible pointer type [-Wincompatible-pointer-types]
673 | wlr_seat_set_keyboard(wlr_seat, wlr_device);
| ^~~~~~~~~~
| |
| struct wlr_input_device *
In file included from /usr/include/wlr/types/wlr_idle.h:13,
from ../sway-borders/sway/input/keyboard.c:7:
/usr/include/wlr/types/wlr_seat.h:477:72: note: expected ‘struct wlr_keyboard *’ but argument is of type ‘struct wlr_input_device *’
477 | void wlr_seat_set_keyboard(struct wlr_seat *seat, struct wlr_keyboard *keyboard);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../sway-borders/sway/input/keyboard.c: In function ‘sway_keyboard_group_add’:
../sway-borders/sway/input/keyboard.c:953:38: error: ‘struct wlr_keyboard_group’ has no member named ‘input_device’
953 | sway_group->wlr_group->input_device;
| ^~
../sway-borders/sway/input/keyboard.c: In function ‘sway_keyboard_configure’:
../sway-borders/sway/input/keyboard.c:1089:37: warning: passing argument 2 of ‘wlr_seat_set_keyboard’ from incompatible pointer type [-Wincompatible-pointer-types]
1089 | wlr_seat_set_keyboard(seat, wlr_device);
| ^~~~~~~~~~
| |
| struct wlr_input_device *
In file included from /usr/include/wlr/types/wlr_idle.h:13,
from ../sway-borders/sway/input/keyboard.c:7:
/usr/include/wlr/types/wlr_seat.h:477:72: note: expected ‘struct wlr_keyboard *’ but argument is of type ‘struct wlr_input_device *’
477 | void wlr_seat_set_keyboard(struct wlr_seat *seat, struct wlr_keyboard *keyboard);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[83/284] Compiling C object sway/sway.p/desktop_render.c.o
In file included from ../sway-borders/sway/desktop/render.c:21:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
[84/284] Compiling C object sway/sway.p/commands_seat_cursor.c.o
FAILED: sway/sway.p/commands_seat_cursor.c.o
cc -Isway/sway.p -Isway -I../sway-borders/sway -Iinclude -I../sway-borders/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.8-dev-a137ee48 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-borders/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/citrus/.cache/yay/sway-borders-git/src=/usr/src/debug -fPIE -pthread -MD -MQ sway/sway.p/commands_seat_cursor.c.o -MF sway/sway.p/commands_seat_cursor.c.o.d -o sway/sway.p/commands_seat_cursor.c.o -c ../sway-borders/sway/commands/seat/cursor.c
In file included from ../sway-borders/include/sway/input/cursor.h:8,
from ../sway-borders/sway/commands/seat/cursor.c:8:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/commands/seat/cursor.c:8:
../sway-borders/include/sway/input/cursor.h:115:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
115 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c: In function ‘press_or_release’:
../sway-borders/sway/commands/seat/cursor.c:114:24: error: variable ‘event’ has initializer but incomplete type
114 | struct wlr_event_pointer_axis event = {
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c:115:26: error: ‘struct wlr_event_pointer_axis’ has no member named ‘device’
115 | .device = NULL,
| ^~~~~~
../sway-borders/sway/commands/seat/cursor.c:115:35: warning: excess elements in struct initializer
115 | .device = NULL,
| ^~~~
../sway-borders/sway/commands/seat/cursor.c:115:35: note: (near initialization for ‘event’)
../sway-borders/sway/commands/seat/cursor.c:116:26: error: ‘struct wlr_event_pointer_axis’ has no member named ‘time_msec’
116 | .time_msec = 0,
| ^~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c:116:38: warning: excess elements in struct initializer
116 | .time_msec = 0,
| ^
../sway-borders/sway/commands/seat/cursor.c:116:38: note: (near initialization for ‘event’)
../sway-borders/sway/commands/seat/cursor.c:117:26: error: ‘struct wlr_event_pointer_axis’ has no member named ‘source’
117 | .source = WLR_AXIS_SOURCE_WHEEL,
| ^~~~~~
../sway-borders/sway/commands/seat/cursor.c:117:35: warning: excess elements in struct initializer
117 | .source = WLR_AXIS_SOURCE_WHEEL,
| ^~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c:117:35: note: (near initialization for ‘event’)
../sway-borders/sway/commands/seat/cursor.c:118:26: error: ‘struct wlr_event_pointer_axis’ has no member named ‘orientation’
118 | .orientation = orientation,
| ^~~~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c:118:40: warning: excess elements in struct initializer
118 | .orientation = orientation,
| ^~~~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c:118:40: note: (near initialization for ‘event’)
../sway-borders/sway/commands/seat/cursor.c:119:26: error: ‘struct wlr_event_pointer_axis’ has no member named ‘delta’
119 | .delta = delta * 15,
| ^~~~~
../sway-borders/sway/commands/seat/cursor.c:119:34: warning: excess elements in struct initializer
119 | .delta = delta * 15,
| ^~~~~
../sway-borders/sway/commands/seat/cursor.c:119:34: note: (near initialization for ‘event’)
../sway-borders/sway/commands/seat/cursor.c:120:26: error: ‘struct wlr_event_pointer_axis’ has no member named ‘delta_discrete’
120 | .delta_discrete = delta
| ^~~~~~~~~~~~~~
../sway-borders/sway/commands/seat/cursor.c:120:43: warning: excess elements in struct initializer
120 | .delta_discrete = delta
| ^~~~~
../sway-borders/sway/commands/seat/cursor.c:120:43: note: (near initialization for ‘event’)
../sway-borders/sway/commands/seat/cursor.c:114:47: error: storage size of ‘event’ isn’t known
114 | struct wlr_event_pointer_axis event = {
| ^~~~~
../sway-borders/sway/commands/seat/cursor.c:114:47: warning: unused variable ‘event’ [-Wunused-variable]
[85/284] Compiling C object sway/sway.p/input_cursor.c.o
FAILED: sway/sway.p/input_cursor.c.o
cc -Isway/sway.p -Isway -I../sway-borders/sway -Iinclude -I../sway-borders/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.8-dev-a137ee48 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-borders/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/citrus/.cache/yay/sway-borders-git/src=/usr/src/debug -fPIE -pthread -MD -MQ sway/sway.p/input_cursor.c.o -MF sway/sway.p/input_cursor.c.o.d -o sway/sway.p/input_cursor.c.o -c ../sway-borders/sway/input/cursor.c
In file included from ../sway-borders/include/sway/input/cursor.h:8,
from ../sway-borders/sway/input/cursor.c:23:
../sway-borders/include/sway/input/seat.h:21:32: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
21 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/include/sway/input/seat.h:277:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
277 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/input/cursor.c:23:
../sway-borders/include/sway/input/cursor.h:115:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
115 | struct wlr_event_pointer_axis *event);
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/input/cursor.c: In function ‘handle_pointer_motion_relative’:
../sway-borders/sway/input/cursor.c:390:53: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
390 | cursor_handle_activity_from_device(cursor, e->device);
| ^~
../sway-borders/sway/input/cursor.c:392:33: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
392 | pointer_motion(cursor, e->time_msec, e->device, e->delta_x, e->delta_y,
| ^~
../sway-borders/sway/input/cursor.c:392:47: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
392 | pointer_motion(cursor, e->time_msec, e->device, e->delta_x, e->delta_y,
| ^~
../sway-borders/sway/input/cursor.c:392:58: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
392 | pointer_motion(cursor, e->time_msec, e->device, e->delta_x, e->delta_y,
| ^~
../sway-borders/sway/input/cursor.c:392:70: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
392 | pointer_motion(cursor, e->time_msec, e->device, e->delta_x, ->delta_y,
| ^~
../sway-borders/sway/input/cursor.c:393:26: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
393 | e->unaccel_dx, e->unaccel_dy);
| ^~
../sway-borders/sway/input/cursor.c:393:41: error: invalid use of undefined type ‘struct wlr_event_pointer_motion’
393 | e->unaccel_dx, e->unaccel_dy);
| ^~
../sway-borders/sway/input/cursor.c: In function ‘handle_pointer_motion_absolute’:
../sway-borders/sway/input/cursor.c:401:57: error: invalid use of undefined type ‘struct wlr_event_pointer_motion_absolute’
401 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:404:67: error: invalid use of undefined type ‘struct wlr_event_pointer_motion_absolute’
404 | wlr_cursor_absolute_to_layout_coords(cursor->cursor, event->device,
| ^~
../sway-borders/sway/input/cursor.c:405:30: error: invalid use of undefined type ‘struct wlr_event_pointer_motion_absolute’
405 | event->x, event->y, &lx, &ly);
| ^~
../sway-borders/sway/input/cursor.c:405:40: error: invalid use of undefined type ‘struct wlr_event_pointer_motion_absolute’
405 | event->x, event->y, &lx, &ly);
| ^~
../sway-borders/sway/input/cursor.c:410:37: error: invalid use of undefined type ‘struct wlr_event_pointer_motion_absolute’
410 | pointer_motion(cursor, event->time_msec, event->device, dx, dy, dx, dy);
| ^~
../sway-borders/sway/input/cursor.c:410:55: error: invalid use of undefined type ‘struct wlr_event_pointer_motion_absolute’
410 | pointer_motion(cursor, event->time_msec, event->device, dx, dy, dx, dy);
| ^~
../sway-borders/sway/input/cursor.c: In function ‘handle_pointer_button’:
../sway-borders/sway/input/cursor.c:427:18: error: invalid use of undefined type ‘struct wlr_event_pointer_button’
427 | if (event->state == WLR_BUTTON_PRESSED) {
| ^~
../sway-borders/sway/input/cursor.c:437:57: error: invalid use of undefined type ‘struct wlr_event_pointer_button’
437 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:438:45: error: invalid use of undefined type ‘struct wlr_event_pointer_button’
438 | dispatch_cursor_button(cursor, event->device,
| ^~
../sway-borders/sway/input/cursor.c:439:30: error: invalid use of undefined type ‘struct wlr_event_pointer_button’
439 | event->time_msec, event->button, event->state);
| ^~
../sway-borders/sway/input/cursor.c:439:48: error: invalid use of undefined type ‘struct wlr_event_pointer_button’
439 | event->time_msec, event->button, event->state);
| ^~
../sway-borders/sway/input/cursor.c:439:63: error: invalid use of undefined type ‘struct wlr_event_pointer_button’
439 | event->time_msec, event->button, event->state);
| ^~
../sway-borders/sway/input/cursor.c: At top level:
../sway-borders/sway/input/cursor.c:443:24: warning: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration
443 | struct wlr_event_pointer_axis *event) {
| ^~~~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/input/cursor.c:442:6: error: conflicting types for ‘dispatch_cursor_axis’; have ‘void(struct sway_cursor *, struct wlr_event_pointer_axis *)’
442 | void dispatch_cursor_axis(struct sway_cursor *cursor,
| ^~~~~~~~~~~~~~~~~~~~
In file included from ../sway-borders/sway/input/cursor.c:23:
../sway-borders/include/sway/input/cursor.h:114:6: note: previous declaration of ‘dispatch_cursor_axis’ with type ‘void(struct sway_cursor *, struct wlr_event_pointer_axis *)’
114 | void dispatch_cursor_axis(struct sway_cursor *cursor,
| ^~~~~~~~~~~~~~~~~~~~
../sway-borders/sway/input/cursor.c: In function ‘dispatch_cursor_axis’:
../sway-borders/sway/input/cursor.c:444:43: warning: passing argument 2 of ‘seatop_pointer_axis’ from incompatible pointer type [-Wincompatible-pointer-types]
444 | seatop_pointer_axis(cursor->seat, event);
| ^~~~~
| |
| struct wlr_event_pointer_axis *
In file included from ../sway-borders/include/sway/input/cursor.h:8,
from ../sway-borders/sway/input/cursor.c:23:
../sway-borders/include/sway/input/seat.h:277:48: note: expected ‘struct wlr_event_pointer_axis *’ but argument is of type ‘struct wlr_event_pointer_axis *’
277 | struct wlr_event_pointer_axis *event);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../sway-borders/sway/input/cursor.c: In function ‘handle_pointer_axis’:
../sway-borders/sway/input/cursor.c:450:57: error: invalid use of undefined type ‘struct wlr_event_pointer_axis’
450 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:451:38: warning: passing argument 2 of ‘dispatch_cursor_axis’ from incompatible pointer type [-Wincompatible-pointer-types]
451 | dispatch_cursor_axis(cursor, event);
| ^~~~~
| |
| struct wlr_event_pointer_axis *
../sway-borders/sway/input/cursor.c:443:48: note: expected ‘struct wlr_event_pointer_axis *’ but argument is of type ‘struct wlr_event_pointer_axis *’
443 | struct wlr_event_pointer_axis *event) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../sway-borders/sway/input/cursor.c: In function ‘handle_touch_down’:
../sway-borders/sway/input/cursor.c:462:57: error: invalid use of undefined type ‘struct wlr_event_touch_down’
462 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:470:67: error: invalid use of undefined type ‘struct wlr_event_touch_down’
470 | wlr_cursor_absolute_to_layout_coords(cursor->cursor, event->device,
| ^~
../sway-borders/sway/input/cursor.c:471:30: error: invalid use of undefined type ‘struct wlr_event_touch_down’
471 | event->x, event->y, &lx, &ly);
| ^~
../sway-borders/sway/input/cursor.c:471:40: error: invalid use of undefined type ‘struct wlr_event_touch_down’
471 | event->x, event->y, &lx, &ly);
| ^~
../sway-borders/sway/input/cursor.c:475:31: error: invalid use of undefined type ‘struct wlr_event_touch_down’
475 | seat->touch_id = event->touch_id;
| ^~
../sway-borders/sway/input/cursor.c:481:76: error: invalid use of undefined type ‘struct wlr_event_touch_down’
481 | wlr_seat_touch_notify_down(wlr_seat, surface, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:482:46: error: invalid use of undefined type ‘struct wlr_event_touch_down’
482 | event->touch_id, sx, sy);
| ^~
../sway-borders/sway/input/cursor.c:498:45: error: invalid use of undefined type ‘struct wlr_event_touch_down’
498 | pointer_motion(cursor, event->time_msec, event->device, dx, dy, dx, dy);
| ^~
../sway-borders/sway/input/cursor.c:498:63: error: invalid use of undefined type ‘struct wlr_event_touch_down’
498 | pointer_motion(cursor, event->time_msec, event->device, dx, dy, dx, dy);
| ^~
../sway-borders/sway/input/cursor.c:499:53: error: invalid use of undefined type ‘struct wlr_event_touch_down’
499 | dispatch_cursor_button(cursor, event->device, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:499:68: error: invalid use of undefined type ‘struct wlr_event_touch_down’
499 | dispatch_cursor_button(cursor, event->device, event- time_msec,
| ^
../sway-borders/sway/input/cursor.c: In function ‘handle_touch_up’:
../sway-borders/sway/input/cursor.c:507:57: error: invalid use of undefined type ‘struct wlr_event_touch_up’
507 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:514:61: error: invalid use of undefined type ‘struct wlr_event_touch_up’
514 | dispatch_cursor_button(cursor, event->device, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:514:76: error: invalid use of undefined type ‘struct wlr_event_touch_up’
514 | dispatch_cursor_button(cursor, event->device, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:518:57: error: invalid use of undefined type ‘struct wlr_event_touch_up’
518 | wlr_seat_touch_notify_up(wlr_seat, event->time_msec, event->touch_id);
| ^~
../sway-borders/sway/input/cursor.c:518:75: error: invalid use of undefined type ‘struct wlr_event_touch_up’
518 | wlr_seat_touch_notify_up(wlr_seat, event->time_msec, event->touch_id);
| ^~
../sway-borders/sway/input/cursor.c: In function ‘handle_touch_motion’:
../sway-borders/sway/input/cursor.c:526:57: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
526 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:533:67: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
533 | wlr_cursor_absolute_to_layout_coords(cursor->cursor, event->device,
| ^~
../sway-borders/sway/input/cursor.c:534:30: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
534 | event->x, event->y, &lx, &ly);
| ^~
../sway-borders/sway/input/cursor.c:534:40: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
534 | event->x, event->y, &lx, &ly);
| ^~
../sway-borders/sway/input/cursor.c:538:36: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
538 | if (seat->touch_id == event->touch_id) {
| ^~
../sway-borders/sway/input/cursor.c:555:53: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
555 | pointer_motion(cursor, event->time_msec, event->device, dx, dy, dx, dy);
| ^~
../sway-borders/sway/input/cursor.c:555:71: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
555 | pointer_motion(cursor, event->time_msec, event->device, dx, dy, dx, dy);
| ^~
../sway-borders/sway/input/cursor.c:558:61: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
558 | wlr_seat_touch_notify_motion(wlr_seat, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:559:30: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
559 | event->touch_id, sx, sy);
| ^~
../sway-borders/sway/input/cursor.c: In function ‘apply_mapping_from_region’:
../sway-borders/sway/input/cursor.c:595:27: error: ‘struct wlr_input_device’ has no member named ‘width_mm’
595 | if (device->width_mm == 0 || device->height_mm == 0) {
| ^~
../sway-borders/sway/input/cursor.c:595:52: error: ‘struct wlr_input_device’ has no member named ‘height_mm’
595 | if (device->width_mm == 0 || device->height_mm == 0) {
| ^~
../sway-borders/sway/input/cursor.c:598:29: error: ‘struct wlr_input_device’ has no member named ‘width_mm’
598 | x1 /= device->width_mm;
| ^~
../sway-borders/sway/input/cursor.c:599:29: error: ‘struct wlr_input_device’ has no member named ‘width_mm’
599 | x2 /= device->width_mm;
| ^~
../sway-borders/sway/input/cursor.c:600:29: error: ‘struct wlr_input_device’ has no member named ‘height_mm’
600 | y1 /= device->height_mm;
| ^~
../sway-borders/sway/input/cursor.c:601:29: error: ‘struct wlr_input_device’ has no member named ‘height_mm’
601 | y2 /= device->height_mm;
| ^~
../sway-borders/sway/input/cursor.c: In function ‘handle_tool_axis’:
../sway-borders/sway/input/cursor.c:664:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
664 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:666:51: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
666 | struct sway_tablet_tool *sway_tool = event->tool->data;
| ^~
../sway-borders/sway/input/cursor.c:673:22: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
673 | event->updated_axes & WLR_TABLET_TOOL_AXIS_X,
| ^~
../sway-borders/sway/input/cursor.c:674:22: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
674 | event->updated_axes & WLR_TABLET_TOOL_AXIS_Y,
| ^~
../sway-borders/sway/input/cursor.c:675:22: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
675 | event->x, event->y, event->dx, event->dy, event->time_msec);
| ^~
../sway-borders/sway/input/cursor.c:675:32: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
675 | event->x, event->y, event->dx, event->dy, event->time_msec);
| ^~
../sway-borders/sway/input/cursor.c:675:42: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
675 | event->x, event->y, event->dx, event->dy, event->time_msec);
| ^~
../sway-borders/sway/input/cursor.c:675:53: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
675 | event->x, event->y, event->dx, event->dy, event->time_msec);
| ^~
../sway-borders/sway/input/cursor.c:675:64: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
675 | event->x, event->y, event->dx, event->dy, event->time_msec);
| ^~
../sway-borders/sway/input/cursor.c:677:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
677 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_PRESSURE) {
| ^~
../sway-borders/sway/input/cursor.c:679:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
679 | sway_tool->tablet_v2_tool, event->pressure);
| ^~
../sway-borders/sway/input/cursor.c:682:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
682 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_DISTANCE) {
| ^~
../sway-borders/sway/input/cursor.c:684:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
684 | sway_tool->tablet_v2_tool, event->distance);
| ^~
../sway-borders/sway/input/cursor.c:687:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
687 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_TILT_X) {
| ^~
../sway-borders/sway/input/cursor.c:688:42: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
688 | sway_tool->tilt_x = event->tilt_x;
| ^~
../sway-borders/sway/input/cursor.c:691:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
691 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_TILT_Y) {
| ^~
../sway-borders/sway/input/cursor.c:692:42: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
692 | sway_tool->tilt_y = event->tilt_y;
| ^~
../sway-borders/sway/input/cursor.c:695:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
695 | if (event->updated_axes & (WLR_TABLET_TOOL_AXIS_TILT_X | WLR_TABLET_TOOL_AXIS_TILT_Y)) {
| ^~
../sway-borders/sway/input/cursor.c:701:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
701 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_ROTATION) {
| ^~
../sway-borders/sway/input/cursor.c:703:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
703 | sway_tool->tablet_v2_tool, event->rotation);
| ^~
../sway-borders/sway/input/cursor.c:706:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
706 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_SLIDER) {
| ^~
../sway-borders/sway/input/cursor.c:708:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
708 | sway_tool->tablet_v2_tool, event->slider);
| ^~
../sway-borders/sway/input/cursor.c:711:18: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
711 | if (event->updated_axes & WLR_TABLET_TOOL_AXIS_WHEEL) {
| ^~
../sway-borders/sway/input/cursor.c:713:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_axis’
713 | sway_tool->tablet_v2_tool, event->wheel_delta, 0);
| ^~
../sway-borders/sway/input/cursor.c: In function ‘handle_tool_tip’:
../sway-borders/sway/input/cursor.c:720:57: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
720 | cursor_handle_activity_from_device(cursor, event->device);
| ^~
../sway-borders/sway/input/cursor.c:722:51: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
722 | struct sway_tablet_tool *sway_tool = event->tool->data;
| ^~
../sway-borders/sway/input/cursor.c:733:30: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
733 | event->state == WLR_TABLET_TOOL_TIP_UP) {
| ^~
../sway-borders/sway/input/cursor.c:735:53: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
735 | dispatch_cursor_button(cursor, event->device, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:735:68: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
735 | dispatch_cursor_button(cursor, event->device, event- time_msec,
| ^
../sway-borders/sway/input/cursor.c:742:26: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
742 | if (event->state == WLR_TABLET_TOOL_TIP_UP) {
| ^~
../sway-borders/sway/input/cursor.c:743:70: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
743 | seatop_tablet_tool_tip(seat, sway_tool, even ->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:747:61: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
747 | dispatch_cursor_button(cursor, event->device, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:747:76: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
747 | dispatch_cursor_button(cursor, event->device, event->time_msec,
| ^~
../sway-borders/sway/input/cursor.c:752:62: error: invalid use of undefined type ‘struct wlr_event_tablet_tool_tip’
752 | seatop_tablet_tool_tip(seat, sway_tool, event->time_msec, event->state);
| ^~
../sway-borders/sway/input/cursor.c:752:80: error: invalid use of undefined type ‘struct wlr_eve
This error appears when building from AUR
Sway Version:
sway version 1.5-3a4ee603 (Feb 27 2021, branch 'makepkg')
Debug Log:
Debug Log
There's a bunch of errors with wlr's render/gles2/texture.c (Unsupported pixel format?)
Configuration File:
https://gist.github.com/GorrillaRibs/278a5ea0a882f344af54467475f92d82
Description:
Seems to be related to the latest git master of wlroots, it started in this commit and was fixed in regular sway in this commit, but titles and borders still don't show up here. Seems related to a change to use a drm format?
Let me know if there's anything else I can do to help!
OS: Fedora 33
I have tryed to compile sway-borders but it said that my version of wlroots is too old so I compiled wlroots from source and now sway-borders is compiling however when I type in sway I get this:
sway: error while loading shared libraries: libwlroots.so.7: cannot open shared object file: No such file or directory
I wrongly assumed floating containers can't have children... 🤦
I use Arch so I'll make an AUR package (sway-borders-git
) for this fork. I'm not sure how releases will work, but when it comes to making them I'll try to make a sway-borders
package as well.
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.