[Libreoffice-commits] core.git: vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Fri May 23 23:37:14 PDT 2014
vcl/source/window/window.cxx | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 468335ccf079a36e789bd0ea3fc55dff01dd04db
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sat May 24 16:36:23 2014 +1000
vcl: remove commented out code from Window::HasChildPathFocus()
Change-Id: I349f6a09ee1ee7bc66c8dd3790761cc0418948eb
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 1b5ad28..d8435a8 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3140,15 +3140,6 @@ void Window::SetFakeFocus( bool bFocus )
bool Window::HasChildPathFocus( bool bSystemWindow ) const
{
- // #107575#, the first floating window always has the keyboard focus, see also winproc.cxx: ImplGetKeyInputWindow()
- // task was shifted to 6.y, so its commented out
- /*
- Window* pFocusWin = ImplGetSVData()->maWinData.mpFirstFloat;
- if( pFocusWin && pFocusWin->mpWindowImpl->mbFloatWin && ((FloatingWindow *)pFocusWin)->GrabsFocus() )
- pFocusWin = pFocusWin->GetPreferredKeyInputWindow();
- else
- pFocusWin = ImplGetSVData()->maWinData.mpFocusWin;
- */
Window* pFocusWin = ImplGetSVData()->maWinData.mpFocusWin;
if ( pFocusWin )
return ImplIsWindowOrChild( pFocusWin, bSystemWindow );
More information about the Libreoffice-commits
mailing list