diff options
author | emersion <contact@emersion.fr> | 2018-06-18 22:49:28 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-18 22:52:10 +0100 |
commit | cda66e9a263d8467b6d1857808305d5e9f7bc3cd (patch) | |
tree | 7e773d03ea9cecf959ba75598fd1a2d18dbd604c /include/sway/server.h | |
parent | Merge pull request #2143 from vilhalmer/mark-pool-buffers-busy (diff) | |
download | sway-cda66e9a263d8467b6d1857808305d5e9f7bc3cd.tar.gz sway-cda66e9a263d8467b6d1857808305d5e9f7bc3cd.tar.zst sway-cda66e9a263d8467b6d1857808305d5e9f7bc3cd.zip |
Automatically float xwayland windows
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 65d96e7a..96cad69d 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <wlr/types/wlr_xdg_shell.h> | 11 | #include <wlr/types/wlr_xdg_shell.h> |
12 | #include <wlr/render/wlr_renderer.h> | 12 | #include <wlr/render/wlr_renderer.h> |
13 | // TODO WLR: make Xwayland optional | 13 | // TODO WLR: make Xwayland optional |
14 | #include <wlr/xwayland.h> | 14 | #include "sway/xwayland.h" |
15 | 15 | ||
16 | struct sway_server { | 16 | struct sway_server { |
17 | struct wl_display *wl_display; | 17 | struct wl_display *wl_display; |
@@ -37,12 +37,9 @@ struct sway_server { | |||
37 | struct wlr_xdg_shell *xdg_shell; | 37 | struct wlr_xdg_shell *xdg_shell; |
38 | struct wl_listener xdg_shell_surface; | 38 | struct wl_listener xdg_shell_surface; |
39 | 39 | ||
40 | struct wlr_xwayland *xwayland; | 40 | struct sway_xwayland xwayland; |
41 | struct wlr_xcursor_manager *xcursor_manager; | ||
42 | struct wl_listener xwayland_surface; | 41 | struct wl_listener xwayland_surface; |
43 | 42 | struct wl_listener xwayland_ready; | |
44 | struct wlr_wl_shell *wl_shell; | ||
45 | struct wl_listener wl_shell_surface; | ||
46 | }; | 43 | }; |
47 | 44 | ||
48 | struct sway_server server; | 45 | struct sway_server server; |