mirror of
https://github.com/0intro/wmii
synced 2024-11-25 07:09:38 +03:00
Work around mawk bug that broke wmiirc.
This commit is contained in:
parent
e602759b49
commit
53a479f79a
10
NEWS
10
NEWS
@ -7,7 +7,15 @@
|
||||
* Dock windows act more like dock windows
|
||||
* Fixed some managed move bugs
|
||||
|
||||
3.9b1:
|
||||
3.9.2:
|
||||
* Work around mawk bug that broke wmiirc.
|
||||
|
||||
3.9.1:
|
||||
* Workaround a dash 0.5.6 bug that broke wmiirc.
|
||||
* Noticably speed-up python wmiirc startup.
|
||||
* Disable static linking which breaks wmiir in glibc 2.12.
|
||||
|
||||
3.9:
|
||||
* wmii9menu is now Xinerama aware.
|
||||
* Install READMEs to $(PREFIX)/share/doc/wmii/.
|
||||
* Documentation updates. Add wmiir.1, wmii9menu.1.
|
||||
|
@ -194,19 +194,14 @@ wi_eventloop() {
|
||||
if [ "$1" = -i ]
|
||||
then cat
|
||||
else wmiir read /event
|
||||
fi | awk '/./ { print; fflush() } END { print "" }' |
|
||||
while :; do
|
||||
# Work around a dash bug.
|
||||
# Only quit on successful read of a blank line.
|
||||
read wi_event || continue
|
||||
test -n "$wi_event" || break
|
||||
|
||||
fi |
|
||||
while read wi_event; do
|
||||
IFS="$wi_newline"
|
||||
wi_arg=$(echo "$wi_event" | sed 's/^[^ ]* //')
|
||||
unset IFS
|
||||
set -- $wi_event
|
||||
event=$1; shift
|
||||
Event $event "$@"
|
||||
( Event $event "$@" )
|
||||
done
|
||||
true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user