diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2024-02-18 10:31:14 +0800 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2024-02-18 10:31:14 +0800 |
commit | 942551fd23f6ad626538054bffd845c713ddcb3e (patch) | |
tree | a6f2663cb380b49bd52ef5d55ac074c4db7c8cfe | |
parent | 050a7e84887574365c82f1424f2e770005a54a27 (diff) | |
download | papersway-942551fd23f6ad626538054bffd845c713ddcb3e.tar.gz |
i3status-wrapper: check that focus event is not a workspace change
-rwxr-xr-x | scripts/desktop/i3status-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/desktop/i3status-wrapper b/scripts/desktop/i3status-wrapper index b57f05a..dbc02ba 100755 --- a/scripts/desktop/i3status-wrapper +++ b/scripts/desktop/i3status-wrapper @@ -131,7 +131,7 @@ unless (fork // warn "couldn't fork monitoring loop") { # Other container changes elsif ($e->{change} && exists $info{paper_ws}{$info{focused_ws}} && ($e->{change} eq "close" - || $e->{change} eq "focus" + || $e->{change} eq "focus" && !$e->{current} || $e->{change} eq "move" && $e->{container} && $e->{container}{type} eq "con" || $e->{change} eq "floating" |