From 4217ed99f17704895bd366a072656d5188e6497e Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Sun, 26 Feb 2023 18:15:07 +0000 Subject: [PATCH] Remove unused zoom 0 from drules output Signed-off-by: Konstantin Pastbin --- src/libkomwm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libkomwm.py b/src/libkomwm.py index 0af8d99..66160ef 100644 --- a/src/libkomwm.py +++ b/src/libkomwm.py @@ -349,6 +349,9 @@ def komap_mapswithme(options): visstring[zoom] = "1" + if zoom == 0: + continue + dr_element = DrawElementProto() dr_element.scale = zoom