mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 19:47:21 +03:00
Merge branch '_glfwInputError_format' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
bfe595a8e8
@ -692,8 +692,8 @@ - (void)updateLayer
|
|||||||
[window->context.nsgl.object update];
|
[window->context.nsgl.object update];
|
||||||
} @catch (NSException *e) {
|
} @catch (NSException *e) {
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||||
"Failed to update NSGL Context object with error: %s (%s)",
|
"Failed to update NSGL Context object with error: %s (%s)",
|
||||||
[[e name] UTF8String], [[e reason] UTF8String]);
|
[[e name] UTF8String], [[e reason] UTF8String]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
@ -1836,7 +1836,7 @@ static inline bool _glfwEnsureDataDevice(void) {
|
|||||||
if (!_glfw.wl.dataDevice)
|
if (!_glfw.wl.dataDevice)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||||
"Wayland: Cannot use clipboard, failed to create data device");
|
"Wayland: Cannot use clipboard, failed to create data device");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user