mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Introduce surface_{enter,leave}_output()
We can centralize all output-related surface events from there.
This commit is contained in:
parent
8e4b659578
commit
1cab17ada2
6 changed files with 30 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue