diff options
| author | Gilles Castel <gilles@castel.dev> | 2020-11-18 10:46:24 +0100 |
|---|---|---|
| committer | Gilles Castel <gilles@castel.dev> | 2020-11-18 10:46:24 +0100 |
| commit | adab6fd0251c5648e611ec2f5b0291de7a24ddfb (patch) | |
| tree | 2d2505dbeb38504e5763198d7ee4d10d1cf3b52d | |
| parent | cd404e38a7d3c65d6ccc28d87e379eefaea15cd7 (diff) | |
| parent | da65ba20709e4d2d1116669efa219bfbeb8ed0ed (diff) | |
Merge branch 'master' of github.com:gillescastel/inkscape-shortcut-manager
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |
