diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-06 15:54:11 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-06 16:03:38 +0200 |
commit | 078e4ef6c72bdc759b83b5f430390cdcdf7f4e9e (patch) | |
tree | ed480e064dd35fe2f28e786ec066def5aaeb2c4e /src/corelib/kernel | |
parent | 481067453ff5b58552ef06c82d5a65019a648907 (diff) |
Made tst_QWidget::updateWhileMinimized() pass.
This requires adding a couple of window system interface events, namely
Map, Unmap, and Expose. When a widget is minimized on X11 it is
unmapped, and thus update requests should not be delivered. Instead the
event will delivered when the widget is mapped, which causes an Expose
event to be sent. The Unmap and Expose event thus need to be handled in
QWidgetWindow, and Map is also added for the purpose of API symmetry
(and for future needs).
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qcoreevent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h index 98a08e9628..432f6a8cee 100644 --- a/src/corelib/kernel/qcoreevent.h +++ b/src/corelib/kernel/qcoreevent.h @@ -291,6 +291,11 @@ public: ScrollPrepare = 204, Scroll = 205, + Map = 206, + Unmap = 207, + + Expose = 208, + // 512 reserved for Qt Jambi's MetaCall event // 513 reserved for Qt Jambi's DeleteOnMainThread event |