diff options
author | Sven Gothel <[email protected]> | 2019-12-06 08:43:05 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-12-06 08:43:05 +0100 |
commit | 578edfc20915e2e2aa18aa06e49f7341f86990c4 (patch) | |
tree | 84925ab08c9745b42db1d59bc3a26b0776be4858 /src/newt/native/WindowEvent.h | |
parent | ddc29141207d9c69f8558265a464cdc4bc014d65 (diff) |
Bug 1413 - NEWT X11Window: NewtWindows_getFrameExtends(..) may hang on XPeekEvent(..)
The wait loop uses XPeekEvent(dpy, &e),
which can block indefinite if queue is empty.
Replace with timeout only _and_ only wait on CreateWindow0(..)
not when queried via X11Display dispatch loop on events
when it is assumed the information has been propagated already.
Diffstat (limited to 'src/newt/native/WindowEvent.h')
0 files changed, 0 insertions, 0 deletions