X11: Fix glfwSetWindowMonitor not flushing buffer

This commit is contained in:
Camilla Löwy 2019-01-01 18:32:45 +01:00
Родитель cde0aaaab1
Коммит 72c3908e14
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -247,6 +247,7 @@ information on what to include when reporting a bug.
- [X11] Bugfix: Update cursor position on enter event (#1366)
- [X11] Bugfix: `glfwSetWindowMonitor` did not update hints when resizing
non-user-resizable windows
- [X11] Bugfix: `glfwSetWindowMonitor` did not flush output buffer in some cases
- [Linux] Added workaround for missing `SYN_DROPPED` in pre-2.6.39 kernel
headers (#1196)
- [Linux] Moved to evdev for joystick input (#906,#1005)

Просмотреть файл

@ -2410,6 +2410,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
xpos, ypos, width, height);
}
XFlush(_glfw.x11.display);
return;
}