aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 553d532d..f11c00b1 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -12,7 +12,6 @@
12#include "sway/input/input-manager.h" 12#include "sway/input/input-manager.h"
13#include "sway/input/seat.h" 13#include "sway/input/seat.h"
14#include "sway/output.h" 14#include "sway/output.h"
15#include "sway/server.h"
16#include "sway/tree/arrange.h" 15#include "sway/tree/arrange.h"
17#include "sway/tree/container.h" 16#include "sway/tree/container.h"
18#include "sway/tree/view.h" 17#include "sway/tree/view.h"
@@ -464,8 +463,6 @@ struct sway_view *view_from_wlr_xdg_surface_v6(
464} 463}
465 464
466void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { 465void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
467 struct sway_server *server = wl_container_of(listener, server,
468 xdg_shell_v6_surface);
469 struct wlr_xdg_surface_v6 *xdg_surface = data; 466 struct wlr_xdg_surface_v6 *xdg_surface = data;
470 467
471 if (xdg_surface->role == WLR_XDG_SURFACE_V6_ROLE_POPUP) { 468 if (xdg_surface->role == WLR_XDG_SURFACE_V6_ROLE_POPUP) {