aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 9f7294db..a17b20f7 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -6,7 +6,6 @@
6#include <strings.h> 6#include <strings.h>
7#include <wayland-server.h> 7#include <wayland-server.h>
8#include <wlr/types/wlr_output_layout.h> 8#include <wlr/types/wlr_output_layout.h>
9#include <wlr/types/wlr_wl_shell.h>
10#include <wlr/types/wlr_xdg_shell_v6.h> 9#include <wlr/types/wlr_xdg_shell_v6.h>
11#include <wlr/types/wlr_xdg_shell.h> 10#include <wlr/types/wlr_xdg_shell.h>
12#include "cairo.h" 11#include "cairo.h"
@@ -446,11 +445,6 @@ struct sway_container *container_at(struct sway_container *parent,
446 _surface = wlr_surface_surface_at(sview->surface, 445 _surface = wlr_surface_surface_at(sview->surface,
447 view_sx, view_sy, &_sx, &_sy); 446 view_sx, view_sy, &_sx, &_sy);
448 break; 447 break;
449 case SWAY_VIEW_WL_SHELL:
450 _surface = wlr_wl_shell_surface_surface_at(
451 sview->wlr_wl_shell_surface,
452 view_sx, view_sy, &_sx, &_sy);
453 break;
454 case SWAY_VIEW_XDG_SHELL_V6: 448 case SWAY_VIEW_XDG_SHELL_V6:
455 // the top left corner of the sway container is the 449 // the top left corner of the sway container is the
456 // coordinate of the top left corner of the window geometry 450 // coordinate of the top left corner of the window geometry