aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Kirill Primak <vyivel@eclair.cafe>2023-07-11 15:09:14 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2023-11-23 19:41:57 +0100
commit47e6a1164c25b5b49bfb919a681b88641d2ce37c (patch)
tree7d801aeea31eef9ab2f60cbaaa52d2b9d55289b3 /include
parentPass wl_display to wlr_output_layout (diff)
downloadsway-47e6a1164c25b5b49bfb919a681b88641d2ce37c.tar.gz
sway-47e6a1164c25b5b49bfb919a681b88641d2ce37c.tar.zst
sway-47e6a1164c25b5b49bfb919a681b88641d2ce37c.zip
xdg-shell: chase events update
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h4
-rw-r--r--include/sway/tree/view.h1
-rw-r--r--include/sway/xdg_decoration.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index be5c8d72..1b3166ce 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -59,7 +59,7 @@ struct sway_server {
59 struct wl_listener layer_shell_surface; 59 struct wl_listener layer_shell_surface;
60 60
61 struct wlr_xdg_shell *xdg_shell; 61 struct wlr_xdg_shell *xdg_shell;
62 struct wl_listener xdg_shell_surface; 62 struct wl_listener xdg_shell_toplevel;
63 63
64 struct wlr_tablet_manager_v2 *tablet_v2; 64 struct wlr_tablet_manager_v2 *tablet_v2;
65 65
@@ -176,7 +176,7 @@ void handle_new_output(struct wl_listener *listener, void *data);
176void handle_idle_inhibitor_v1(struct wl_listener *listener, void *data); 176void handle_idle_inhibitor_v1(struct wl_listener *listener, void *data);
177void handle_layer_shell_surface(struct wl_listener *listener, void *data); 177void handle_layer_shell_surface(struct wl_listener *listener, void *data);
178void sway_session_lock_init(void); 178void sway_session_lock_init(void);
179void handle_xdg_shell_surface(struct wl_listener *listener, void *data); 179void handle_xdg_shell_toplevel(struct wl_listener *listener, void *data);
180#if HAVE_XWAYLAND 180#if HAVE_XWAYLAND
181void handle_xwayland_surface(struct wl_listener *listener, void *data); 181void handle_xwayland_surface(struct wl_listener *listener, void *data);
182#endif 182#endif
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 960f9d71..856651a5 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -226,6 +226,7 @@ struct sway_xdg_popup {
226 226
227 struct wlr_xdg_popup *wlr_xdg_popup; 227 struct wlr_xdg_popup *wlr_xdg_popup;
228 228
229 struct wl_listener surface_commit;
229 struct wl_listener new_popup; 230 struct wl_listener new_popup;
230 struct wl_listener destroy; 231 struct wl_listener destroy;
231}; 232};
diff --git a/include/sway/xdg_decoration.h b/include/sway/xdg_decoration.h
index 8bef4c6d..2388ebcb 100644
--- a/include/sway/xdg_decoration.h
+++ b/include/sway/xdg_decoration.h
@@ -16,4 +16,6 @@ struct sway_xdg_decoration {
16struct sway_xdg_decoration *xdg_decoration_from_surface( 16struct sway_xdg_decoration *xdg_decoration_from_surface(
17 struct wlr_surface *surface); 17 struct wlr_surface *surface);
18 18
19void set_xdg_decoration_mode(struct sway_xdg_decoration *deco);
20
19#endif 21#endif