summaryrefslogtreecommitdiff
path: root/sway/desktop/wl_shell.c
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2017-12-10 10:25:56 -0500
committerTony Crisci <[email protected]>2017-12-10 10:25:56 -0500
commit0fdecb4d3a36d4c73a906bcc0465620293b6e6d2 (patch)
tree08a071ae7c4725a633209b47daa339ef33046a0f /sway/desktop/wl_shell.c
parent5f644d78fc77f48c7f7d839f7c2e318b51c2c6d7 (diff)
parentab36a5a4d73ddb026c9b1d416c1e7388d63958ea (diff)
Merge branch 'wlroots' into feature/input
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r--sway/desktop/wl_shell.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c
index b2e026ef..3f5a358a 100644
--- a/sway/desktop/wl_shell.c
+++ b/sway/desktop/wl_shell.c
@@ -45,6 +45,10 @@ static void set_position(struct sway_view *view, double ox, double oy) {
view->swayc->y = oy;
}
+static void set_activated(struct sway_view *view, bool activated) {
+ // no way to activate wl_shell
+}
+
static void handle_commit(struct wl_listener *listener, void *data) {
struct sway_wl_shell_surface *sway_surface =
wl_container_of(listener, sway_surface, commit);
@@ -96,6 +100,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
sway_view->iface.get_prop = get_prop;
sway_view->iface.set_size = set_size;
sway_view->iface.set_position = set_position;
+ sway_view->iface.set_activated = set_activated;
sway_view->wlr_wl_shell_surface = shell_surface;
sway_view->sway_wl_shell_surface = sway_surface;
sway_view->surface = shell_surface->surface;