mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-08 13:29:47 -05:00
Drop dummy wl_grab_surface hack
This commit is contained in:
parent
855ab75787
commit
4be2ed9611
4 changed files with 3 additions and 29 deletions
|
|
@ -80,15 +80,6 @@ struct wl_global {
|
|||
struct wl_list link;
|
||||
};
|
||||
|
||||
WL_EXPORT struct wl_surface wl_grab_surface = {
|
||||
{},
|
||||
NULL,
|
||||
{
|
||||
&wl_grab_surface.destroy_listener_list,
|
||||
&wl_grab_surface.destroy_listener_list
|
||||
}
|
||||
};
|
||||
|
||||
static int wl_debug = 0;
|
||||
|
||||
WL_EXPORT void
|
||||
|
|
@ -98,10 +89,6 @@ wl_client_post_event(struct wl_client *client, struct wl_object *sender,
|
|||
struct wl_closure *closure;
|
||||
va_list ap;
|
||||
|
||||
if (client == NULL)
|
||||
/* wl_grab_surface case */
|
||||
return;
|
||||
|
||||
va_start(ap, opcode);
|
||||
closure = wl_connection_vmarshal(client->connection,
|
||||
sender, opcode, ap,
|
||||
|
|
|
|||
|
|
@ -36,12 +36,6 @@ enum {
|
|||
WL_EVENT_WRITEABLE = 0x02
|
||||
};
|
||||
|
||||
/* FIXME: We really want in-process objects here, so that the
|
||||
* compositor grabs can be implemented as passive grabs and the events
|
||||
* be delivered to an in-process listener. For now, we use this
|
||||
* special case as the grabbing surface. */
|
||||
extern struct wl_surface wl_grab_surface;
|
||||
|
||||
struct wl_event_loop;
|
||||
struct wl_event_source;
|
||||
typedef void (*wl_event_loop_fd_func_t)(int fd, uint32_t mask, void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue