mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-06 11:14:51 +00:00
riverctl patch: add all wlr modifiers
This commit is contained in:
parent
e1e1a74342
commit
e81a123f5a
@ -1,4 +1,4 @@
|
||||
From 8b1fa82ce202ff302e76e8e6e7e5f9083da5f4d1 Mon Sep 17 00:00:00 2001
|
||||
From db7ec8a92252bf7ec69f2cbff6a416e2bd363697 Mon Sep 17 00:00:00 2001
|
||||
From: Zuki Air <zukirust@gmail.com>
|
||||
Date: Sun, 27 Jul 2025 11:30:32 +0100
|
||||
Subject: [PATCH] river-ctl patch
|
||||
@ -15,8 +15,8 @@ fix bug
|
||||
dwl.c | 20 +-
|
||||
dwlctl.c | 132 +++++
|
||||
protocols/river-control-unstable-v1.xml | 85 +++
|
||||
river-control.h | 742 ++++++++++++++++++++++++
|
||||
7 files changed, 1022 insertions(+), 16 deletions(-)
|
||||
river-control.h | 746 ++++++++++++++++++++++++
|
||||
7 files changed, 1026 insertions(+), 16 deletions(-)
|
||||
create mode 100644 dwlctl.c
|
||||
create mode 100644 protocols/river-control-unstable-v1.xml
|
||||
create mode 100644 river-control.h
|
||||
@ -450,10 +450,10 @@ index 0000000..aa5fc4d
|
||||
+</protocol>
|
||||
diff --git a/river-control.h b/river-control.h
|
||||
new file mode 100644
|
||||
index 0000000..6c6fbea
|
||||
index 0000000..0792dbd
|
||||
--- /dev/null
|
||||
+++ b/river-control.h
|
||||
@@ -0,0 +1,742 @@
|
||||
@@ -0,0 +1,746 @@
|
||||
+#include "river-control-unstable-v1-private-protocol.c"
|
||||
+#include "river-control-unstable-v1-protocol.h"
|
||||
+#ifdef KEYS_USED
|
||||
@ -535,6 +535,10 @@ index 0000000..6c6fbea
|
||||
+ {WLR_MODIFIER_CTRL,"ctrl"},
|
||||
+ {WLR_MODIFIER_ALT,"alt"},
|
||||
+ {WLR_MODIFIER_SHIFT,"shift"},
|
||||
+ {WLR_MODIFIER_CAPS,"caps"},
|
||||
+ {WLR_MODIFIER_MOD3,"mod3"},
|
||||
+ {WLR_MODIFIER_MOD2,"mod2"},
|
||||
+ {WLR_MODIFIER_MOD5,"mod5"},
|
||||
+};
|
||||
+#define STR(a) \
|
||||
+ { XKB_KEY_##a, #a }
|
||||
|
Loading…
x
Reference in New Issue
Block a user