summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-12-26 00:46:38 +0100
committercinap_lenrek <cinap_lenrek@centraldogma>2011-12-26 00:46:38 +0100
commita0726e01ad6cc55ebaa78bbf42aa9532e3c10b78 (patch)
treed072ac7b797d8b90abb71a8879b1800c22b97f12 /sys/src
parent15a75e40d01c61eead24204b89ddd8d294b6d1fd (diff)
parentd56c586f75748b7ffc6ec12866bb9e722df859ab (diff)
merge
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/mothra/mothra.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c
index a95333682..711feedff 100644
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -360,6 +360,7 @@ void main(int argc, char *argv[]){
}
}
+ flushimage(display, 1);
unlockdisplay(display);
i=event(&e);
lockdisplay(display);
@@ -740,7 +741,6 @@ void dolink(Panel *p, int buttons, Rtext *word){
}
void filter(char *cmd, int fd){
- flushimage(display, 1);
switch(rfork(RFFDG|RFPROC|RFMEM|RFNOWAIT)){
case -1:
message("Can't fork!");
@@ -755,7 +755,6 @@ void filter(char *cmd, int fd){
close(fd);
}
void gettext(Www *w, int fd, int type){
- flushimage(display, 1);
switch(rfork(RFFDG|RFPROC|RFMEM|RFNOWAIT)){
case -1:
message("Can't fork, please wait");