summaryrefslogtreecommitdiff
path: root/qt/qte234-for-opie091-popupmenu.patch
blob: 025dc987e1ff7d7475cabf3d8c0c2dd94e802489 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/kernel/qapplication_qws.cpp.orig	2002-12-08 18:06:22.000000000 +0100
+++ src/kernel/qapplication_qws.cpp	2002-12-08 21:51:08.000000000 +0100
@@ -3278,7 +3278,7 @@
 	if ( qApp->inPopupMode() ) {			// in popup mode
 	    QWidget *popup = qApp->activePopupWidget();
 	    if ( popup != this ) {
-		if ( testWFlags(WType_Popup) && rect().contains(pos) )
+		if ( testWFlags(WType_Popup) && rect().contains(pos) && !popup->rect().contains(popup-> mapFromGlobal(mapToGlobal(pos))) )
 		    popup = this;
 		else				// send to last popup
 		    pos = popup->mapFromGlobal( globalPos );