summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2011-12-30 14:25:40 +0000
committerAriel Constenla-Haile <arielch@apache.org>2011-12-30 14:25:40 +0000
commite88c0c841ea177c490e2f2ac1c5a65ec3876757c (patch)
treeb837a6a2bdcaddf8580bb33c7ec2174ebe01e120 /svtools
parent27118ebc4cd3046164e568b3ccd9378bdfdb2e1b (diff)
i118707 - make toolbar control's popup window grab focus
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx6
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 >();