-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Despite there now being official releases of input-leap, code quality remains unchanged and there is unfortunately still no added value from sticking to the release versions. This update disables GUI variant due to intrusive build changes in project upstream, which need to be fixed before re-enabling it.
- Loading branch information
1 parent
72de4e5
commit b6cfddf
Showing
6 changed files
with
65 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 822ea2a2..79eea9ca 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -287,7 +287,7 @@ macro (configure_files srcDir destDir) | ||
endmacro (configure_files) | ||
|
||
# Make a bundle for mac os | ||
-if (APPLE) | ||
+if (APPLE__NOPE) | ||
set (CMAKE_INSTALL_RPATH "@loader_path/../Libraries;@loader_path/../Frameworks") | ||
set(INPUTLEAP_BUNDLE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dist/macos/bundle) | ||
set(INPUTLEAP_BUNDLE_DIR ${CMAKE_BINARY_DIR}/bundle) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/src/lib/platform/OSXKeyState.cpp b/src/lib/platform/OSXKeyState.cpp | ||
index 89e57e2b..e69d133d 100644 | ||
--- a/src/lib/platform/OSXKeyState.cpp | ||
+++ b/src/lib/platform/OSXKeyState.cpp | ||
@@ -109,6 +109,9 @@ static const KeyEntry s_controlKeys[] = { | ||
{ kKeyMeta_L, kVK_Command }, // 55 | ||
{ kKeyMeta_R, kVK_RightCommand }, // 54 | ||
|
||
+ // macOS doesn't understand AltGr, so interpret it simply as right hand Alt | ||
+ { kKeyAltGr, kVK_RightOption }, // 61 | ||
+ | ||
// toggle modifiers | ||
{ kKeyNumLock, kVK_ANSI_KeypadClear }, | ||
{ kKeyCapsLock, kVK_CapsLock }, |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/src/lib/inputleap/ClientApp.cpp b/src/lib/inputleap/ClientApp.cpp | ||
index 3c620a1e..c3b8793d 100644 | ||
--- a/src/lib/inputleap/ClientApp.cpp | ||
+++ b/src/lib/inputleap/ClientApp.cpp | ||
@@ -435,7 +435,9 @@ ClientApp::mainLoop() | ||
// that. | ||
DAEMON_RUNNING(true); | ||
|
||
-#if defined(MAC_OS_X_VERSION_10_7) | ||
+// XXX: Creating a thread here is disabled, because it creates race | ||
+// conditions and segfaults. | ||
+#if defined(MAC_OS_X_VERSION_10_7__NOPE) | ||
|
||
Thread thread([this](){ run_events_loop(); }); | ||
|