mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-19 07:19:50 +02: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:
@@ -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