aboutsummaryrefslogtreecommitdiff
path: root/sway/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/lock.c')
-rw-r--r--sway/lock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/lock.c b/sway/lock.c
index 96af19c4..6d9e991b 100644
--- a/sway/lock.c
+++ b/sway/lock.c
@@ -5,6 +5,7 @@
#include "sway/input/seat.h"
#include "sway/output.h"
#include "sway/server.h"
+#include "sway/surface.h"
struct sway_session_lock_surface {
struct wlr_session_lock_surface_v1 *lock_surface;
@@ -31,7 +32,7 @@ static void handle_surface_map(struct wl_listener *listener, void *data) {
if (server.session_lock.focused == NULL) {
set_lock_focused_surface(surf->surface);
}
- wlr_surface_send_enter(surf->surface, surf->output->wlr_output);
+ surface_enter_output(surf->surface, surf->output);
output_damage_whole(surf->output);
}