summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/content.h3
-rw-r--r--desktop/browser.c6
-rw-r--r--render/html.c1
3 files changed, 1 insertions, 9 deletions
diff --git a/content/content.h b/content/content.h
index 649f54dfa..7781ba9b8 100644
--- a/content/content.h
+++ b/content/content.h
@@ -78,8 +78,7 @@ typedef enum {
CONTENT_MSG_SCROLL, /**< Request to scroll content */
CONTENT_MSG_DRAGSAVE, /**< Allow drag saving of content */
CONTENT_MSG_SAVELINK, /**< Allow URL to be saved */
- CONTENT_MSG_POINTER, /**< Wants a specific mouse pointer set */
- CONTENT_MSG_PASTE /**< Inform that content wants clipboard paste */
+ CONTENT_MSG_POINTER /**< Wants a specific mouse pointer set */
} content_msg;
/** RFC5988 metadata link */
diff --git a/desktop/browser.c b/desktop/browser.c
index 6262f2453..6a1688192 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -1545,12 +1545,6 @@ nserror browser_window_callback(hlcache_handle *c,
browser_window_set_pointer(bw, event->data.pointer);
break;
- case CONTENT_MSG_PASTE:
- /* Content wants a clipboard paste */
- gui_paste_from_clipboard(bw->window,
- event->data.paste.x, event->data.paste.y);
- break;
-
default:
assert(0);
}
diff --git a/render/html.c b/render/html.c
index 19ea5a9d0..3e26928fd 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1302,7 +1302,6 @@ html_object_callback(hlcache_handle *object,
case CONTENT_MSG_SAVELINK:
case CONTENT_MSG_POINTER:
- case CONTENT_MSG_PASTE:
/* These messages are for browser window layer.
* we're not interested, so pass them on. */
content_broadcast(&c->base, event->type, event->data);