diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index b4ac3a68..e2c614b3 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include "sway/input/input-manager.h" | 13 | #include "sway/input/input-manager.h" |
14 | #include "sway/input/seat.h" | 14 | #include "sway/input/seat.h" |
15 | #include "sway/output.h" | 15 | #include "sway/output.h" |
16 | #include "sway/server.h" | ||
17 | #include "sway/tree/arrange.h" | 16 | #include "sway/tree/arrange.h" |
18 | #include "sway/tree/container.h" | 17 | #include "sway/tree/container.h" |
19 | #include "sway/tree/view.h" | 18 | #include "sway/tree/view.h" |
@@ -480,8 +479,6 @@ struct sway_view *view_from_wlr_xdg_surface( | |||
480 | } | 479 | } |
481 | 480 | ||
482 | void handle_xdg_shell_surface(struct wl_listener *listener, void *data) { | 481 | void handle_xdg_shell_surface(struct wl_listener *listener, void *data) { |
483 | struct sway_server *server = wl_container_of(listener, server, | ||
484 | xdg_shell_surface); | ||
485 | struct wlr_xdg_surface *xdg_surface = data; | 482 | struct wlr_xdg_surface *xdg_surface = data; |
486 | 483 | ||
487 | if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP) { | 484 | if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP) { |