author | sandman <sandman> | 2002-12-08 20:59:12 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-08 20:59:12 (UTC) |
commit | 009f786417b304168f2e23ddd1d8626653ba1c63 (patch) (unidiff) | |
tree | 3a0b783cc7c79e484ee4d411bf2e3159ea63cff3 /qt | |
parent | c552dbdcfa395f2474d3d454266801611789e799 (diff) | |
download | opie-009f786417b304168f2e23ddd1d8626653ba1c63.zip opie-009f786417b304168f2e23ddd1d8626653ba1c63.tar.gz opie-009f786417b304168f2e23ddd1d8626653ba1c63.tar.bz2 |
This fixes the overlapping popupmenu problem. Qt/E chooses the lower
popupmenu (parent) for mouse move events, if two popupmenu overlap.
-rw-r--r-- | qt/qte234-for-opie091-popupmenu.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qt/qte234-for-opie091-popupmenu.patch b/qt/qte234-for-opie091-popupmenu.patch new file mode 100644 index 0000000..f942ada --- a/dev/null +++ b/qt/qte234-for-opie091-popupmenu.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- src/kernel/qapplication_qws.cpp2002-12-08 21:51:08.000000000 +0100 | ||
2 | +++ src/kernel/qapplication_qws.cpp.orig2002-12-08 18:06:22.000000000 +0100 | ||
3 | @@ -3278,7 +3278,7 @@ | ||
4 | if ( qApp->inPopupMode() ) { // in popup mode | ||
5 | QWidget *popup = qApp->activePopupWidget(); | ||
6 | if ( popup != this ) { | ||
7 | - if ( testWFlags(WType_Popup) && rect().contains(pos) && !popup->rect().contains(popup-> mapFromGlobal(mapToGlobal(pos))) ) | ||
8 | + if ( testWFlags(WType_Popup) && rect().contains(pos) ) | ||
9 | popup = this; | ||
10 | else // send to last popup | ||
11 | pos = popup->mapFromGlobal( globalPos ); | ||