From: Rui Guo Date: Sat, 22 Aug 2009 16:57:17 +0000 (+0800) Subject: Correct the event description for activity/silient monitors. X-Git-Url: https://repo.or.cz/w/screen-lua.git/commitdiff_plain/918d3f9c0d25818ee0fcef4206ab5aef1cb2fcd5 Correct the event description for activity/silient monitors. --- 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,