From 1cab17ada243385798b3340f88144f64ac33ee63 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 8 Feb 2023 15:25:14 +0100 Subject: Introduce surface_{enter,leave}_output() We can centralize all output-related surface events from there. --- include/sway/surface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/sway/surface.h b/include/sway/surface.h index fb1cd775..50681897 100644 --- a/include/sway/surface.h +++ b/include/sway/surface.h @@ -15,4 +15,9 @@ struct sway_surface { struct wl_event_source *frame_done_timer; }; +void surface_enter_output(struct wlr_surface *surface, + struct sway_output *output); +void surface_leave_output(struct wlr_surface *surface, + struct sway_output *output); + #endif -- cgit v1.2.3