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