Resume Cthulhu on empty i3 workspaces
This commit is contained in:
1 parent
7752c4e566
commit
d5f8a392cf
8 files changed
+191
-44
No files matched your search
@@ -136,7 +136,7 @@ func (owner *commandOwner) publishFocus() steamFocusSample {
|
||||
|
||||
// Native xterm focus vetoes delayed accessibility requests to restore grabs.
|
||||
// lastFocusMatch belongs to this owner and survives unknown focus samples;
|
||||
// only a known non-xterm window ends the handoff.
|
||||
// only a known non-xterm window or verified i3 no-client focus ends the handoff.
|
||||
func (owner *commandOwner) commandGrabsAllowed() bool {
|
||||
return owner.lastFocusMatch != 1 && owner.listener.commandsEnabled.Load() && !owner.listener.secure.Load()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user