From 09b46490e3855f74bd676fed5a119cc75df688ed Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 5 May 2020 18:24:20 -0400 Subject: changed inkscape detection to add compatibility for the newest inkscape update --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 540b99a..ba3dc21 100644 --- a/main.py +++ b/main.py @@ -72,7 +72,7 @@ def create(inkscape_id): m.listen() def is_inkscape(window): - return window.get_wm_class() and window.get_wm_class()[0] == 'inkscape' + return (window.get_wm_class() and 'inkscape' in window. get_wm_class()[0]) def main(): disp = Display() -- cgit v1.2.3