summaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2019-01-22 11:04:56 -0500
committerGitHub <[email protected]>2019-01-22 11:04:56 -0500
commit04aa41de340b82d4eccc5c0c86fa6f9c178b72d5 (patch)
tree75c61907f094838e23899231ec5ec955c530f692 /sway/desktop/xdg_shell.c
parent71a37ad186ba3080338b2ecb5a3e640600aefc1f (diff)
parent0af5b26e41c5141d4094652133c230d76bf82e56 (diff)
Merge pull request #3496 from mstoeckl/fix-san
Fix dead stores found by scan-build
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r--sway/desktop/xdg_shell.c3
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 @@
#include "sway/input/input-manager.h"
#include "sway/input/seat.h"
#include "sway/output.h"
-#include "sway/server.h"
#include "sway/tree/arrange.h"
#include "sway/tree/container.h"
#include "sway/tree/view.h"
@@ -480,8 +479,6 @@ struct sway_view *view_from_wlr_xdg_surface(
}
void handle_xdg_shell_surface(struct wl_listener *listener, void *data) {
- struct sway_server *server = wl_container_of(listener, server,
- xdg_shell_surface);
struct wlr_xdg_surface *xdg_surface = data;
if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP) {