From 7ac9395dba988cdef45aabde4404810446b00067 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub Date: Thu, 24 Feb 2022 18:20:26 +0100 Subject: [PATCH] fix: switch app to itself cancel vibrations Signed-off-by: thiswillbeyourgithub --- wasp/wasp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wasp/wasp.py b/wasp/wasp.py index 52448b6..2e41537 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -245,6 +245,9 @@ class Manager(): def switch(self, app): """Switch to the requested application. """ + if self.app is app: + return + if self.app: if 'background' in dir(self.app): try: