mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Initial (awful) pass on xdg shell support
This commit is contained in:
parent
1efd5f819f
commit
0c8491f7d0
8 changed files with 223 additions and 37 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <wlr/backend.h>
|
||||
#include <wlr/backend/session.h>
|
||||
#include <wlr/types/wlr_data_device_manager.h>
|
||||
#include <wlr/types/wlr_xdg_shell_v6.h>
|
||||
#include <wlr/render.h>
|
||||
// TODO WLR: make Xwayland optional
|
||||
#include <wlr/xwayland.h>
|
||||
|
|
@ -24,6 +25,9 @@ struct sway_server {
|
|||
struct wl_listener output_add;
|
||||
struct wl_listener output_remove;
|
||||
struct wl_listener output_frame;
|
||||
|
||||
struct wlr_xdg_shell_v6 *xdg_shell_v6;
|
||||
struct wl_listener xdg_shell_v6_surface;
|
||||
};
|
||||
|
||||
struct sway_server server;
|
||||
|
|
@ -35,4 +39,6 @@ void server_run(struct sway_server *server);
|
|||
void output_add_notify(struct wl_listener *listener, void *data);
|
||||
void output_remove_notify(struct wl_listener *listener, void *data);
|
||||
|
||||
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue