Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add ScreenChange event.

  • Loading branch information...
commit d8f2ca1d12439dfddde4019681563ab767049a1d 1 parent 7dcb0b8
Kris Maglione authored committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.