mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 00:49:48 +00:00
X11: Fix no window position events during resize
A window resize action that also resulting in the window being moved did
not emit any window positions events, as the position of real
ConfigureNotify events was ignored. The real events use parent
coordinates instead of root coordinates so this adds parent tracking and
conditional translation.
Fixes #1613.
(cherry picked from commit fe57e3c292)
This commit is contained in:
@@ -180,6 +180,7 @@ typedef struct _GLFWwindowX11
|
||||
{
|
||||
Colormap colormap;
|
||||
Window handle;
|
||||
Window parent;
|
||||
XIC ic;
|
||||
|
||||
GLFWbool overrideRedirect;
|
||||
|
||||
Reference in New Issue
Block a user