kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=e101ec06a71d9aa1170f16f50898ad80022814af

commit e101ec06a71d9aa1170f16f50898ad80022814af
Author: Kim Woelders <[email protected]>
Date:   Wed Dec 25 14:24:33 2019 +0100

    windowmatches: Issue notice when discarding invalid one
---
 src/windowmatch.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/windowmatch.c b/src/windowmatch.c
index d3b15c69..7f1244e0 100644
--- a/src/windowmatch.c
+++ b/src/windowmatch.c
@@ -155,7 +155,10 @@ WindowMatchConfigLoad(FILE * fs)
             if (wm)
               {
                  if (!wm->match || !wm->op)
-                    WindowMatchDestroy(wm);
+                   {
+                      Eprintf("%s: Skip invalid '%s'\n", __func__, wm->name);
+                      WindowMatchDestroy(wm);
+                   }
                  wm = NULL;
                  err = 0;
               }

-- 


Reply via email to