mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xwayland/xwm: add support for xwayland-shell-v1
This commit is contained in:
parent
85b37127a6
commit
4ff46e6cf9
4 changed files with 77 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ struct wlr_drag;
|
|||
struct wlr_xwayland {
|
||||
struct wlr_xwayland_server *server;
|
||||
struct wlr_xwm *xwm;
|
||||
struct wlr_xwayland_shell_v1 *shell_v1;
|
||||
struct wlr_xwayland_cursor *cursor;
|
||||
|
||||
const char *display_name;
|
||||
|
|
@ -42,6 +43,7 @@ struct wlr_xwayland {
|
|||
*/
|
||||
int (*user_event_handler)(struct wlr_xwm *xwm, xcb_generic_event_t *event);
|
||||
|
||||
struct wl_listener server_start;
|
||||
struct wl_listener server_ready;
|
||||
struct wl_listener server_destroy;
|
||||
struct wl_listener seat_destroy;
|
||||
|
|
@ -80,6 +82,7 @@ struct wlr_xwayland_surface {
|
|||
xcb_window_t window_id;
|
||||
struct wlr_xwm *xwm;
|
||||
uint32_t surface_id;
|
||||
uint64_t serial;
|
||||
|
||||
struct wl_list link;
|
||||
struct wl_list stack_link;
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
enum atom_name {
|
||||
WL_SURFACE_ID,
|
||||
WL_SURFACE_SERIAL,
|
||||
WM_DELETE_WINDOW,
|
||||
WM_PROTOCOLS,
|
||||
WM_HINTS,
|
||||
|
|
@ -130,6 +131,7 @@ struct wlr_xwm {
|
|||
|
||||
struct wl_listener compositor_new_surface;
|
||||
struct wl_listener compositor_destroy;
|
||||
struct wl_listener shell_v1_new_surface;
|
||||
struct wl_listener seat_set_selection;
|
||||
struct wl_listener seat_set_primary_selection;
|
||||
struct wl_listener seat_start_drag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue