mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] wayland: fail gracefully when interfaces are too old
Before, we just attempt to bind, causing an obscure Wayland error. This commit checks the interface versions and print better error messages.
This commit is contained in:
@@ -329,7 +329,7 @@ bool waylandCBInit(void)
|
||||
|
||||
if (!wlWm.dataDeviceManager)
|
||||
{
|
||||
DEBUG_ERROR("Missing wl_data_device_manager interface");
|
||||
DEBUG_ERROR("Missing wl_data_device_manager interface (version 3+)");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user