Think about Loose Coupling | |
PerlMonks |
Re^5: scripting i3 with Perlby Corion (Patriarch) |
on Feb 02, 2019 at 13:01 UTC ( [id://1229287]=note: print w/replies, xml ) | Need Help?? |
So, the i3 API tells you that all is well. This sounds more like a problem with i3 to me. Maybe consider delaying the switching a bit. Set a timer (AnyEvent->timer(after => 3, sub {...}) and trigger the desktop switch from that timed callback instead of triggering it directly.
In Section
Seekers of Perl Wisdom
|
|