diff --git a/src/main.c b/src/main.c index 17aa47f..03cdd2e 100644 --- a/src/main.c +++ b/src/main.c @@ -957,8 +957,9 @@ int main(int argc, char* argv[]) goto capture_failure; } - data_control_init(&self.data_control, self.display, self.nvnc, - self.selected_seat->wl_seat); + if (self.data_control.manager) + data_control_init(&self.data_control, self.display, self.nvnc, + self.selected_seat->wl_seat); pixman_region_init(&self.current_damage);