Merge pull request #813 from emersion/layer-surface-enter

rootston: send enter event for layer surfaces
master
Drew DeVault 7 years ago committed by GitHub
commit 8f8470aed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -281,6 +281,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
struct wlr_output *wlr_output = layer_surface->output; struct wlr_output *wlr_output = layer_surface->output;
struct roots_output *output = wlr_output->data; struct roots_output *output = wlr_output->data;
wlr_output_damage_add_box(output->damage, &layer->geo); 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) { static void handle_unmap(struct wl_listener *listener, void *data) {

Loading…
Cancel
Save