mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-25 21:58:31 +01:00
989bddc765
fixes the parsing part of #2906
31 lines
670 B
C
31 lines
670 B
C
#ifndef SWAY_XWAYLAND_H
|
|
#define SWAY_XWAYLAND_H
|
|
|
|
#include <wlr/xwayland.h>
|
|
#include <xcb/xproto.h>
|
|
|
|
enum atom_name {
|
|
NET_WM_WINDOW_TYPE_NORMAL,
|
|
NET_WM_WINDOW_TYPE_DIALOG,
|
|
NET_WM_WINDOW_TYPE_UTILITY,
|
|
NET_WM_WINDOW_TYPE_TOOLBAR,
|
|
NET_WM_WINDOW_TYPE_SPLASH,
|
|
NET_WM_WINDOW_TYPE_MENU,
|
|
NET_WM_WINDOW_TYPE_DROPDOWN_MENU,
|
|
NET_WM_WINDOW_TYPE_POPUP_MENU,
|
|
NET_WM_WINDOW_TYPE_TOOLTIP,
|
|
NET_WM_WINDOW_TYPE_NOTIFICATION,
|
|
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
|