From 72c3908e1474d0cd72bed9fecb6ff3da022f7200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Tue, 1 Jan 2019 18:32:45 +0100 Subject: [PATCH] X11: Fix glfwSetWindowMonitor not flushing buffer --- README.md | 1 + src/x11_window.c | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 2c0436ce..44216559 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/x11_window.c b/src/x11_window.c index e9efcb1f..19ed7372 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -2410,6 +2410,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, xpos, ypos, width, height); } + XFlush(_glfw.x11.display); return; }