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