qt6-bb10/src
Tor Arne Vestbø f30b75e569 xcb: Don't assume creating a window will result in ConfigureNotify event
We assumed that creating a window would always result in a configure
notify event, so we delayed sending the initial expose event until
receiving the configure notify.

That strategy fails in cases where the window does not need a reconfigure
after being created, such as when not running a window manager, or when
creating child windows. In those cases the window is just mapped, and
we ended up never sending an expose event.

The problem was masked by sometimes receiving an explicit expose event
from X, just after the mapped notification, which we then sent without
waiting for configure. Unfortunately we can't rely on this behavior
and need to remove the deferred expose event logic, so that we always
ensure that at least one expose event is sent to Qt.

Change-Id: I702be7f24de2a1e89c085fb6bd95bb8ff7792a27
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Reviewed-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
2015-11-24 14:49:15 +00:00
..
3rdparty Get rid of QT_USE_BUNDLED_LIBPNG 2015-11-23 18:52:35 +00:00
android Merge remote-tracking branch 'origin/5.5' into 5.6 2015-11-04 12:28:48 +01:00
angle Merge remote-tracking branch 'origin/5.5' into 5.6 2015-11-04 12:28:48 +01:00
concurrent QtConcurrent: Use Q_NULLPTR instead of 0 in all public headers 2015-11-04 14:17:08 +00:00
corelib Fix deadlock when setting environment variables. 2015-11-23 19:58:16 +00:00
dbus Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
gui Fix undefined behavior in qRgba(). 2015-11-24 05:28:21 +00:00
network Use standard error handling in qhostinfo_winrt.cpp 2015-11-19 06:55:26 +00:00
opengl Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
platformsupport Add EGL stream state defines used by Qt Wayland 2015-11-19 08:33:41 +00:00
plugins xcb: Don't assume creating a window will result in ConfigureNotify event 2015-11-24 14:49:15 +00:00
printsupport Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
sql QSqlQueryModel::clear(): Call begin/endResetModel(). 2015-11-19 07:24:13 +00:00
testlib QTest::mouseEvent expects window-local coordinates. 2015-11-17 15:30:40 +00:00
tools make a proper header-only module for QtZlib 2015-11-17 20:22:17 +00:00
widgets Send a paint after resize correctly from QOpenGLWidget 2015-11-23 13:12:02 +00:00
winmain winrt: Exit application properly 2015-10-30 21:50:43 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
src.pro make a proper header-only module for QtZlib 2015-11-17 20:22:17 +00:00