commit 41a6908c6030c5936af6963626dfb00419694521
parent 294a33458fc0628114e175427f448f75ab426dcf
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 3 Apr 2018 19:16:18 -0400
Merge pull request #1715 from emersion/layer-shell-surface-enter
Send enter event to layer shell surfaces
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
@@ -278,6 +278,8 @@ static void handle_map(struct wl_listener *listener, void *data) {
sway_layer, map);
struct sway_output *output = sway_layer->layer_surface->output->data;
wlr_output_damage_add_box(output->damage, &sway_layer->geo);
+ wlr_surface_send_enter(sway_layer->layer_surface->surface,
+ sway_layer->layer_surface->output);
}
static void handle_unmap(struct wl_listener *listener, void *data) {