aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-03 20:23:16 -0400
committerGitHub <noreply@github.com>2018-04-03 20:23:16 -0400
commit8f8470aed95209040ac1f73bd42091d32f864aa7 (patch)
tree760ff521d430b80388e938ca7fe22505c65a76e2
parent36e94b2a8e48219b4ff753a995ac95720cba5a87 (diff)
parentf7539b9d142c8945e37436a346a31d507416d2ea (diff)
Merge pull request #813 from emersion/layer-surface-enter
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) {