Add ScreenChange event.

This commit is contained in:
Kris Maglione 2012-04-08 14:07:38 -04:00
parent e8d9e73d15
commit abc4b2e285
2 changed files with 3 additions and 1 deletions

View File

@ -210,7 +210,7 @@ wi_eventloop() {
event=$1; shift
[ "$event" = Start -a "$1" = "$wmiiscript" ] &&
exit
( Event $event "$@" )
Event $event "$@"
done
true
}

View File

@ -215,6 +215,8 @@ init_screens(void) {
screen = screens[0];
if(selview)
view_update(selview);
event("ScreenChange %d %d\n", n, nscreens);
}
static void