mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Add xdg-shell stable support
This commit is contained in:
parent
0c96d757d0
commit
88d9d43b36
8 changed files with 331 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <wlr/types/wlr_data_device.h>
|
||||
#include <wlr/types/wlr_layer_shell.h>
|
||||
#include <wlr/types/wlr_xdg_shell_v6.h>
|
||||
#include <wlr/types/wlr_xdg_shell.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
// TODO WLR: make Xwayland optional
|
||||
#include <wlr/xwayland.h>
|
||||
|
|
@ -32,6 +33,9 @@ struct sway_server {
|
|||
struct wlr_xdg_shell_v6 *xdg_shell_v6;
|
||||
struct wl_listener xdg_shell_v6_surface;
|
||||
|
||||
struct wlr_xdg_shell *xdg_shell;
|
||||
struct wl_listener xdg_shell_surface;
|
||||
|
||||
struct wlr_xwayland *xwayland;
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
struct wl_listener xwayland_surface;
|
||||
|
|
@ -51,6 +55,7 @@ void handle_new_output(struct wl_listener *listener, void *data);
|
|||
|
||||
void handle_layer_shell_surface(struct wl_listener *listener, void *data);
|
||||
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
|
||||
void handle_xdg_shell_surface(struct wl_listener *listener, void *data);
|
||||
void handle_xwayland_surface(struct wl_listener *listener, void *data);
|
||||
void handle_wl_shell_surface(struct wl_listener *listener, void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue