Skip to content
Browse files

Add ScreenChange event.

  • Loading branch information...
1 parent 7dcb0b8 commit d8f2ca1d12439dfddde4019681563ab767049a1d Kris Maglione committed with Suraj N. Kurapati Apr 8, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 cmd/wmii.sh.sh
  2. +2 −0 cmd/wmii/main.c
View
2 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
}
View
2 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

0 comments on commit d8f2ca1

Please sign in to comment.
Something went wrong with that request. Please try again.