Properly cleanup wl outputs for cursor tracker

This commit is contained in:
dec05eba
2025-10-30 20:12:47 +01:00
parent d70b36000f
commit a6b1111230
2 changed files with 22 additions and 14 deletions

View File

@@ -34,6 +34,7 @@ namespace gsr {
std::vector<WaylandOutput> monitors;
struct zxdg_output_manager_v1 *xdg_output_manager = nullptr;
private:
void clear_monitors();
void set_monitor_outputs_from_xdg_output(struct wl_display *dpy);
private:
int drm_fd = -1;