mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
Remove content_msg for PASTE, since it doesn't need a gui_window to get the buffer from the front end now.
This commit is contained in:
parent
e93fae7f2d
commit
147f2bd08a
@ -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 */
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user