mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
c6eea488b1
1 changed files with 4 additions and 2 deletions
6
glfw/wl_window.c
vendored
6
glfw/wl_window.c
vendored
|
|
@ -1081,8 +1081,10 @@ void _glfwPlatformGetFramebufferSize(_GLFWwindow* window,
|
|||
int* width, int* height)
|
||||
{
|
||||
_glfwPlatformGetWindowSize(window, width, height);
|
||||
*width *= window->wl.scale;
|
||||
*height *= window->wl.scale;
|
||||
if (width)
|
||||
*width *= window->wl.scale;
|
||||
if (height)
|
||||
*height *= window->wl.scale;
|
||||
}
|
||||
|
||||
void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue