cagebreak/xwayland.h
Cagebreak Signing Key 1 de6c07ca2a Release 1.0.0
- Add basic tiling compositor functionality
2020-02-17 17:28:35 +00:00

26 lines
592 B
C

#ifndef CG_XWAYLAND_H
#define CG_XWAYLAND_H
#include "view.h"
#include <wayland-server-core.h>
#include <wlr/xwayland.h>
struct cg_xwayland_view {
struct cg_view view;
struct wlr_xwayland_surface *xwayland_surface;
struct wl_listener destroy;
struct wl_listener unmap;
struct wl_listener map;
struct wl_listener commit;
struct wl_listener request_fullscreen;
};
struct cg_xwayland_view *
xwayland_view_from_view(struct cg_view *view);
bool
xwayland_view_should_manage(const struct cg_view *view);
void
handle_xwayland_surface_new(struct wl_listener *listener, void *data);
#endif