mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
sway-no-seat: potential fix for media keys
This commit is contained in:
parent
efbe6b8997
commit
a2bde08847
@ -2,4 +2,4 @@ b411c21e7e87956b78fd91e64383086228d16e391116088a839ee005e563b376
|
||||
af512d4abce21e200381f0d40e1e745c03a2f33f62c8453c50a9580851a6b228
|
||||
45de0d0b7135d4c11cd9a2e8ddf8c0f179ecfb45987d205e35711e1a0a432a99
|
||||
0c0777dc70569be07bf602b55628c474a5ceb256650e4bcccaefd4038ae4a655
|
||||
4cd41a212fd9ab7c6e4743efaa325ca5333d13304b32cb3025ba73abf1d183b2
|
||||
884c36e3184fc41ddd9353c667e85ba27843ad3f392344b0fd70e2a81bf503b6
|
||||
|
@ -16,7 +16,7 @@ index b4b5bc4..2770312 100644
|
||||
+++ b/sway/commands/bar/bind.c
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include <libevdev/libevdev.h>
|
||||
+#include <linux/input-event-codes.h>
|
||||
+#include <linux/input.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
@ -36,7 +36,7 @@ index 6b33141..039f533 100644
|
||||
+++ b/sway/commands/input/scroll_button.c
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include <libevdev/libevdev.h>
|
||||
+#include <linux/input-event-codes.h>
|
||||
+#include <linux/input.h>
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "sway/input/cursor.h"
|
||||
@ -73,7 +73,7 @@ index 95edf7b..99df15f 100644
|
||||
code, event ? event : "(null)") + 1;
|
||||
@@ -1251,7 +1251,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 <float.h>
|
||||
-#include <libevdev/libevdev.h>
|
||||
+#include <linux/input-event-codes.h>
|
||||
+#include <linux/input.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
@ -101,7 +101,7 @@ index 1b64f86..13fa7d4 100644
|
||||
#include <float.h>
|
||||
#include <json.h>
|
||||
-#include <libevdev/libevdev.h>
|
||||
+#include <linux/input-event-codes.h>
|
||||
+#include <linux/input.h>
|
||||
#include <stdio.h>
|
||||
#include <wlr/backend/libinput.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
|
Loading…
Reference in New Issue
Block a user