diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2011-12-30 14:25:40 +0000 |
---|---|---|
committer | Ariel Constenla-Haile <arielch@apache.org> | 2011-12-30 14:25:40 +0000 |
commit | e88c0c841ea177c490e2f2ac1c5a65ec3876757c (patch) | |
tree | b837a6a2bdcaddf8580bb33c7ec2174ebe01e120 /svtools | |
parent | 27118ebc4cd3046164e568b3ccd9378bdfdb2e1b (diff) |
i118707 - make toolbar control's popup window grab focus
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/popupwindowcontroller.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx index b420f372248e..00548c5bad9e 100644 --- a/svtools/source/uno/popupwindowcontroller.cxx +++ b/svtools/source/uno/popupwindowcontroller.cxx @@ -238,7 +238,11 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() th { 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 >(); |