summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 7411e3b75..71d576579 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -676,6 +676,7 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
{
textplain_content *text = (textplain_content *) c;
browser_pointer_shape pointer = BROWSER_POINTER_DEFAULT;
+ union content_msg_data msg_data;
const char *status = 0;
size_t idx;
int dir = 0;
@@ -708,7 +709,8 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
if (status != NULL)
browser_window_set_status(bw, status);
- browser_window_set_pointer(bw, pointer);
+ msg_data.pointer = pointer;
+ content_broadcast(c, CONTENT_MSG_POINTER, msg_data);
}