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:
@@ -221,7 +221,7 @@ void waylandWarpPointer(int x, int y, bool exiting);
|
||||
// output module
|
||||
bool waylandOutputInit(void);
|
||||
void waylandOutputFree(void);
|
||||
void waylandOutputBind(uint32_t name);
|
||||
void waylandOutputBind(uint32_t name, uint32_t version);
|
||||
void waylandOutputTryUnbind(uint32_t name);
|
||||
int32_t waylandOutputGetScale(struct wl_output * output);
|
||||
|
||||
|
Reference in New Issue
Block a user