incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arie...@apache.org
Subject svn commit: r1225846 - /incubator/ooo/trunk/main/svtools/source/uno/popupwindowcontroller.cxx
Date Fri, 30 Dec 2011 15:25:41 GMT
Author: arielch
Date: Fri Dec 30 15:25:40 2011
New Revision: 1225846

URL: http://svn.apache.org/viewvc?rev=1225846&view=rev
Log:
i118707 - make toolbar control's popup window grab focus

Modified:
    incubator/ooo/trunk/main/svtools/source/uno/popupwindowcontroller.cxx

Modified: incubator/ooo/trunk/main/svtools/source/uno/popupwindowcontroller.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svtools/source/uno/popupwindowcontroller.cxx?rev=1225846&r1=1225845&r2=1225846&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svtools/source/uno/popupwindowcontroller.cxx (original)
+++ incubator/ooo/trunk/main/svtools/source/uno/popupwindowcontroller.cxx Fri Dec 30 15:25:40
2011
@@ -238,7 +238,11 @@ Reference< awt::XWindow > SAL_CALL Popup
 		{
    			pWin->EnableDocking(true);
 			mpImpl->SetPopupWindow(pWin,pToolBox);
-			::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin, FLOATWIN_POPUPMODE_NOFOCUSCLOSE|FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE
|FLOATWIN_POPUPMODE_NOMOUSEUPCLOSE );	        
+            ::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin,
+                                                           FLOATWIN_POPUPMODE_GRABFOCUS |
+                                                           FLOATWIN_POPUPMODE_NOFOCUSCLOSE
|
+                                                           FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE
|
+                                                           FLOATWIN_POPUPMODE_NOMOUSEUPCLOSE
);
 		}
 	}
     return Reference< awt::XWindow >();



Mime
View raw message