diff --git a/cmd/wmii.sh.sh b/cmd/wmii.sh.sh index 1a7394f5..08289765 100755 --- a/cmd/wmii.sh.sh +++ b/cmd/wmii.sh.sh @@ -210,7 +210,7 @@ wi_eventloop() { event=$1; shift [ "$event" = Start -a "$1" = "$wmiiscript" ] && exit - ( Event $event "$@" ) + Event $event "$@" done true } diff --git a/cmd/wmii/main.c b/cmd/wmii/main.c index e724b45d..53529577 100644 --- a/cmd/wmii/main.c +++ b/cmd/wmii/main.c @@ -215,6 +215,8 @@ init_screens(void) { screen = screens[0]; if(selview) view_update(selview); + + event("ScreenChange %d %d\n", n, nscreens); } static void