Don't init data_control if it's not supported by compositor
parent
30295bb715
commit
4a098e27f9
|
@ -957,6 +957,7 @@ int main(int argc, char* argv[])
|
|||
goto capture_failure;
|
||||
}
|
||||
|
||||
if (self.data_control.manager)
|
||||
data_control_init(&self.data_control, self.display, self.nvnc,
|
||||
self.selected_seat->wl_seat);
|
||||
|
||||
|
|
Loading…
Reference in New Issue