mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Automatically float xwayland windows
This commit is contained in:
parent
202ee51150
commit
cda66e9a26
7 changed files with 116 additions and 26 deletions
|
|
@ -11,7 +11,7 @@
|
|||
#include <wlr/types/wlr_xdg_shell.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
// TODO WLR: make Xwayland optional
|
||||
#include <wlr/xwayland.h>
|
||||
#include "sway/xwayland.h"
|
||||
|
||||
struct sway_server {
|
||||
struct wl_display *wl_display;
|
||||
|
|
@ -37,12 +37,9 @@ struct sway_server {
|
|||
struct wlr_xdg_shell *xdg_shell;
|
||||
struct wl_listener xdg_shell_surface;
|
||||
|
||||
struct wlr_xwayland *xwayland;
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
struct sway_xwayland xwayland;
|
||||
struct wl_listener xwayland_surface;
|
||||
|
||||
struct wlr_wl_shell *wl_shell;
|
||||
struct wl_listener wl_shell_surface;
|
||||
struct wl_listener xwayland_ready;
|
||||
};
|
||||
|
||||
struct sway_server server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue