summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 6827ab5d8..873f277aa 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -825,6 +825,8 @@ void textplain_open(struct content *c, struct browser_window *bw,
textplain_content *text = (textplain_content *) c;
text->bw = bw;
+
+ selection_set_browser_window(bw->sel, bw);
}