wayland: Make WaylandEventSource private
This commit is contained in:
parent
9f5c38d121
commit
354cc466af
@ -33,13 +33,6 @@
|
|||||||
#include "meta-wayland-surface.h"
|
#include "meta-wayland-surface.h"
|
||||||
#include "meta-wayland-seat.h"
|
#include "meta-wayland-seat.h"
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
GSource source;
|
|
||||||
GPollFD pfd;
|
|
||||||
struct wl_display *display;
|
|
||||||
} WaylandEventSource;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
struct wl_list link;
|
struct wl_list link;
|
||||||
|
@ -56,6 +56,13 @@ get_time (void)
|
|||||||
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
GSource source;
|
||||||
|
GPollFD pfd;
|
||||||
|
struct wl_display *display;
|
||||||
|
} WaylandEventSource;
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
wayland_event_source_prepare (GSource *base, int *timeout)
|
wayland_event_source_prepare (GSource *base, int *timeout)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user