mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-06 15:06:37 +01:00
feat(wm): add optional alt focus hack
This commit adds an optional focusing hack using simulated ALT key presses to ensure that focus changes always succeed. As noted in the documentation for LockSetForegroundWindow, the system automatically enables calls to SetForegroundWindow if the user presses the ALT key.
This commit is contained in:
1 parent
f8120f6b11
commit
925f3bd87b
9 files changed
+52
-2
No files matched your search
@@ -104,6 +104,7 @@ pub enum SocketMessage {
|
||||
ReloadConfiguration,
|
||||
WatchConfiguration(bool),
|
||||
CompleteConfiguration,
|
||||
AltFocusHack(bool),
|
||||
ActiveWindowBorder(bool),
|
||||
ActiveWindowBorderColour(WindowKind, u32, u32, u32),
|
||||
ActiveWindowBorderWidth(i32),
|
||||
|
||||
Reference in new issue
Block a user