mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
Add ScreenChange event.
This commit is contained in:
parent
e8d9e73d15
commit
abc4b2e285
@ -210,7 +210,7 @@ wi_eventloop() {
|
||||
event=$1; shift
|
||||
[ "$event" = Start -a "$1" = "$wmiiscript" ] &&
|
||||
exit
|
||||
( Event $event "$@" )
|
||||
Event $event "$@"
|
||||
done
|
||||
true
|
||||
}
|
||||
|
@ -215,6 +215,8 @@ init_screens(void) {
|
||||
screen = screens[0];
|
||||
if(selview)
|
||||
view_update(selview);
|
||||
|
||||
event("ScreenChange %d %d\n", n, nscreens);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user