mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
28 lines
671 B
C
28 lines
671 B
C
// Copyright 2020 - 2024, project-repo and the cagebreak contributors
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#ifndef CG_XWAYLAND_H
|
|
#define CG_XWAYLAND_H
|
|
|
|
#include "view.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 associate;
|
|
struct wl_listener dissociate;
|
|
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
|