From 918d3f9c0d25818ee0fcef4206ab5aef1cb2fcd5 Mon Sep 17 00:00:00 2001 From: Rui Guo Date: Sun, 23 Aug 2009 00:57:17 +0800 Subject: [PATCH] Correct the event description for activity/silient monitors. --- src/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script.c b/src/script.c index 0a3ca5a..9b477b9 100644 --- a/src/script.c +++ b/src/script.c @@ -206,7 +206,7 @@ struct sev_description { /* Window events */ {"window_can_resize", "", offsetof(struct win, w_sev.canresize)}, - {"window_onactivity", "w", offsetof(struct win, w_sev.onactivity)}, + {"window_onactivity", "dw", offsetof(struct win, w_sev.onactivity)}, {"window_onclose", "w", offsetof(struct win, w_sev.onclose)}, {"window_onfocus", "dw", offsetof(struct win, w_sev.onfocus)}, /* last view of window w disappeared on display d. */ @@ -218,7 +218,7 @@ struct sev_description { /* window w first showed up on display d. When there are regions, it can * still be shown while losing focus. */ {"window_onshow", "dw", offsetof(struct win, w_sev.onshow)}, - {"window_onsilent", "w", offsetof(struct win, w_sev.onsilent)}, + {"window_onsilent", "dw", offsetof(struct win, w_sev.onsilent)}, }; /* Get the event queue with the given name in the obj. If the obj is NULL, -- 2.11.4.GIT