aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-03 20:18:04 -0400
committeremersion <contact@emersion.fr>2018-04-03 20:18:04 -0400
commitf7539b9d142c8945e37436a346a31d507416d2ea (patch)
tree760ff521d430b80388e938ca7fe22505c65a76e2
parent36e94b2a8e48219b4ff753a995ac95720cba5a87 (diff)
rootston: send enter event for layer surfaces
-rw-r--r--rootston/layer_shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/layer_shell.c b/rootston/layer_shell.c
index 1cd93b3c..9794071b 100644
--- a/rootston/layer_shell.c
+++ b/rootston/layer_shell.c
@@ -281,6 +281,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
struct wlr_output *wlr_output = layer_surface->output;
struct roots_output *output = wlr_output->data;
wlr_output_damage_add_box(output->damage, &layer->geo);
+ wlr_surface_send_enter(layer_surface->surface, wlr_output);
}
static void handle_unmap(struct wl_listener *listener, void *data) {