From efbe6b8997488dd976f9746798d75abb7f425922 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 18 Jul 2021 21:20:52 +0300 Subject: [PATCH] sway: potential fix for media keys --- wayland/sway/checksums | 2 +- wayland/sway/patches/no-evdev.patch | 10 +++++----- wayland/sway/version | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wayland/sway/checksums b/wayland/sway/checksums index f14ad37a..dffcc074 100644 --- a/wayland/sway/checksums +++ b/wayland/sway/checksums @@ -1,2 +1,2 @@ 8b138867cd83217de07138144b1279fe58e0421eb10c91122aa33c8770fe7391 -5f56cedc5a9ba028254631242d0ebf1916e56bd6ccffd3247a1878004dfb12ea +a41a469d43e58c3c877c72750c6564deb8e6384e2b42080d17e9ec74622a5e42 diff --git a/wayland/sway/patches/no-evdev.patch b/wayland/sway/patches/no-evdev.patch index 458e3c56..4d1d94d9 100644 --- a/wayland/sway/patches/no-evdev.patch +++ b/wayland/sway/patches/no-evdev.patch @@ -16,7 +16,7 @@ index b4b5bc4..2770312 100644 +++ b/sway/commands/bar/bind.c @@ -1,4 +1,4 @@ -#include -+#include ++#include #include #include #include @@ -36,7 +36,7 @@ index 6b33141..039f533 100644 +++ b/sway/commands/input/scroll_button.c @@ -1,4 +1,4 @@ -#include -+#include ++#include #include "sway/config.h" #include "sway/commands.h" #include "sway/input/cursor.h" @@ -73,7 +73,7 @@ index c89d516..e1bbabd 100644 code, event ? event : "(null)") + 1; @@ -1252,7 +1252,7 @@ uint32_t get_mouse_button(const char *name, char **error) { } - + const char *get_mouse_button_name(uint32_t button) { - const char *name = libevdev_event_code_get_name(EV_KEY, button); + const char *name = libinput_event_code_get_name(EV_KEY, button); @@ -88,7 +88,7 @@ index f9eb8c8..681ca26 100644 #define _POSIX_C_SOURCE 200809L #include -#include -+#include ++#include #include #include #include @@ -99,7 +99,7 @@ index 2c4c52a..1c09ba4 100644 @@ -1,5 +1,5 @@ #include -#include -+#include ++#include #include #include #include "config.h" diff --git a/wayland/sway/version b/wayland/sway/version index b109a380..c88f302e 100644 --- a/wayland/sway/version +++ b/wayland/sway/version @@ -1 +1 @@ -1.6.1 1 +1.6.1 2