Merge pull request #1715 from emersion/layer-shell-surface-enter

Send enter event to layer shell surfaces
master
Drew DeVault 7 years ago committed by GitHub
commit 41a6908c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -278,6 +278,8 @@ static void handle_map(struct wl_listener *listener, void *data) {
sway_layer, map); sway_layer, map);
struct sway_output *output = sway_layer->layer_surface->output->data; struct sway_output *output = sway_layer->layer_surface->output->data;
wlr_output_damage_add_box(output->damage, &sway_layer->geo); 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) { static void handle_unmap(struct wl_listener *listener, void *data) {

Loading…
Cancel
Save