forked from kiss-community/repo
sway-tiny: potential fix for media keys
This commit is contained in:
parent
a2bde08847
commit
989704d77a
|
@ -1,4 +1,4 @@
|
|||
14cdfb9f92d10368883a7812422f0724cd415877e47b3830064e77773277be4e
|
||||
75700927a0cf4ce38a40b270dac9adecdde3ad52763175160a7ff9be54421b6f
|
||||
45de0d0b7135d4c11cd9a2e8ddf8c0f179ecfb45987d205e35711e1a0a432a99
|
||||
f4ba997506cb10b72a54cea8ee6eb568e80b7fc76addb4a3520d028df7994559
|
||||
626b339087dfef740b8146b95ad488a6b311e3be1c40ca4f4e80e502c77de735
|
||||
|
|
|
@ -16,7 +16,7 @@ index b4b5bc45..27703128 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 6b331419..039f5335 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"
|
||||
|
@ -88,7 +88,7 @@ index f9eb8c8a..681ca263 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 2c0cf3e2..839e6ae0 100644
|
|||
#include <json.h>
|
||||
#endif
|
||||
-#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