aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-21 22:37:43 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-21 22:37:43 +0100
commite89ec81ae3c4b35c655fef68c6302b12521dda6f (patch)
treee4390c218b8c7055f0ebe0e5a6b01f0b05ab9b24 /src/window
parent7e35869648a0037a488c0ffdababc53379d0c67c (diff)
Add key_to_x11_keysymHEADmaster
Diffstat (limited to 'src/window')
-rw-r--r--src/window/Keyboard.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window/Keyboard.cpp b/src/window/Keyboard.cpp
index f60e5cd..34d28be 100644
--- a/src/window/Keyboard.cpp
+++ b/src/window/Keyboard.cpp
@@ -14,4 +14,9 @@ namespace mgl {
bool Keyboard::key_is_modifier(Key key) {
return mgl_key_is_modifier((mgl_key)key);
}
+
+ // static
+ uint64_t Keyboard::key_to_x11_keysym(Key key) {
+ return mgl_key_to_x11_keysym((mgl_key)key);
+ }
} \ No newline at end of file