You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
514 B
28 lines
514 B
#ifdef HAVE_XWAYLAND
|
|
#ifndef SWAY_XWAYLAND_H
|
|
#define SWAY_XWAYLAND_H
|
|
|
|
#include <wlr/xwayland.h>
|
|
#include <xcb/xproto.h>
|
|
|
|
enum atom_name {
|
|
NET_WM_WINDOW_TYPE_DIALOG,
|
|
NET_WM_WINDOW_TYPE_UTILITY,
|
|
NET_WM_WINDOW_TYPE_TOOLBAR,
|
|
NET_WM_WINDOW_TYPE_SPLASH,
|
|
NET_WM_STATE_MODAL,
|
|
ATOM_LAST,
|
|
};
|
|
|
|
struct sway_xwayland {
|
|
struct wlr_xwayland *wlr_xwayland;
|
|
struct wlr_xcursor_manager *xcursor_manager;
|
|
|
|
xcb_atom_t atoms[ATOM_LAST];
|
|
};
|
|
|
|
void handle_xwayland_ready(struct wl_listener *listener, void *data);
|
|
|
|
#endif
|
|
#endif
|