mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
wayland: Put MetaWaylandOutput struct in header file
We need this in MetaWaylandSurface to be able to send wl_surface.enter/leave. https://bugzilla.gnome.org/show_bug.cgi?id=744453
This commit is contained in:
parent
6ec7fa2cbd
commit
1576b7d5a6
@ -31,15 +31,6 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
MetaMonitorInfo *monitor_info;
|
|
||||||
struct wl_global *global;
|
|
||||||
int x, y;
|
|
||||||
enum wl_output_transform transform;
|
|
||||||
|
|
||||||
GList *resources;
|
|
||||||
} MetaWaylandOutput;
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
output_resource_destroy (struct wl_resource *res)
|
output_resource_destroy (struct wl_resource *res)
|
||||||
{
|
{
|
||||||
|
@ -25,8 +25,19 @@
|
|||||||
#ifndef META_WAYLAND_OUTPUTS_H
|
#ifndef META_WAYLAND_OUTPUTS_H
|
||||||
#define META_WAYLAND_OUTPUTS_H
|
#define META_WAYLAND_OUTPUTS_H
|
||||||
|
|
||||||
|
#include "backends/meta-monitor-manager-private.h"
|
||||||
#include "meta-wayland-private.h"
|
#include "meta-wayland-private.h"
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
MetaMonitorInfo *monitor_info;
|
||||||
|
struct wl_global *global;
|
||||||
|
int x, y;
|
||||||
|
enum wl_output_transform transform;
|
||||||
|
|
||||||
|
GList *resources;
|
||||||
|
} MetaWaylandOutput;
|
||||||
|
|
||||||
void meta_wayland_outputs_init (MetaWaylandCompositor *compositor);
|
void meta_wayland_outputs_init (MetaWaylandCompositor *compositor);
|
||||||
|
|
||||||
#endif /* META_WAYLAND_OUTPUTS_H */
|
#endif /* META_WAYLAND_OUTPUTS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user