summaryrefslogtreecommitdiff
path: root/src/buttons.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2002-06-28 20:44:40 +0000
committerMichael Jennings <mej@kainx.org>2002-06-28 20:44:40 +0000
commit224817eb24d6eb0094f0819e6cb2620e009399c2 (patch)
treed18b7f16c20c0b81a0881e78b8439b23b7fd4cea /src/buttons.c
parent94b2b06ff8c84a71294da03082d8733c5b56b62f (diff)
downloadeterm-224817eb24d6eb0094f0819e6cb2620e009399c2.tar.gz
Fri Jun 28 16:40:55 2002 Michael Jennings (mej)
Additional twin stuff, plus a bug fix for dragging Escreen buttons. SVN revision: 6334
Diffstat (limited to 'src/buttons.c')
-rw-r--r--src/buttons.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buttons.c b/src/buttons.c
index a7e90a2..a402248 100644
--- a/src/buttons.c
+++ b/src/buttons.c
@@ -307,9 +307,10 @@ bbar_handle_button_release(event_t *ev)
FREE(u);
}
return 1;
- } else if (buttonbar->current != drag) {
+ } else if (bbar->current != drag) {
D_ESCREEN(("Button for display %d dragged to display %d\n", fm, to));
ns_mov_disp(TermWin.screen, fm, to);
+ bbar->current = drag = NULL;
return 1;
}
}