feat(wm): add force-focus command

On rare occasions and usually with Firefox, the desired application will
fail to be focused with the regular focus commands. This commit
introduces a new command, force-focus, which can be used to simulate a
left-click on a window that has failed to take focus, since this is what
I have to do to work around the issue anyway.
This commit is contained in:
LGUG2Z
2022-12-15 17:08:23 -08:00
parent ca09b9b300
commit 613d69a737
5 changed files with 56 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ pub enum SocketMessage {
CycleSendContainerToWorkspace(CycleDirection),
SendContainerToMonitorWorkspaceNumber(usize, usize),
MoveWorkspaceToMonitorNumber(usize),
ForceFocus,
Close,
Minimize,
Promote,