diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-03 19:16:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 19:16:18 -0400 |
commit | 41a6908c6030c5936af6963626dfb00419694521 (patch) | |
tree | 663a0008682e832c81f27daf7d2ff50933941d3b | |
parent | Merge pull request #1710 from emersion/swaybg-empty-input-region (diff) | |
parent | Send enter event to layer shell surfaces (diff) | |
download | sway-41a6908c6030c5936af6963626dfb00419694521.tar.gz sway-41a6908c6030c5936af6963626dfb00419694521.tar.zst sway-41a6908c6030c5936af6963626dfb00419694521.zip |
Merge pull request #1715 from emersion/layer-shell-surface-enter
Send enter event to layer shell surfaces
-rw-r--r-- | sway/desktop/layer_shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 3c7b45f7..663ec7ba 100644 --- 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) { | |||
278 | sway_layer, map); | 278 | sway_layer, map); |
279 | struct sway_output *output = sway_layer->layer_surface->output->data; | 279 | struct sway_output *output = sway_layer->layer_surface->output->data; |
280 | wlr_output_damage_add_box(output->damage, &sway_layer->geo); | 280 | wlr_output_damage_add_box(output->damage, &sway_layer->geo); |
281 | wlr_surface_send_enter(sway_layer->layer_surface->surface, | ||
282 | sway_layer->layer_surface->output); | ||
281 | } | 283 | } |
282 | 284 | ||
283 | static void handle_unmap(struct wl_listener *listener, void *data) { | 285 | static void handle_unmap(struct wl_listener *listener, void *data) { |