fix Ctrl-Tab handling in the Floating window style (floating has a XYZ window, so...
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 30 Dec 2009 10:26:41 +0000 (10:26 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 30 Dec 2009 10:26:41 +0000 (10:26 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@404 61c419a2-8eb2-4b30-bcec-8cead039b335

radiant/xywindow.cpp

index 78206940556389a74394ddbcc8234ea0a21a7bf1..cfe419bedec91490249f03c48b7fac21be8f3195 100644 (file)
@@ -2587,7 +2587,7 @@ void XY_Split_Focus()
 
 void XY_Focus()
 {
-  if (g_pParentWnd->CurrentStyle() == MainFrame::eSplit || g_pParentWnd->CurrentStyle() == MainFrame::eFloating)
+  if (g_pParentWnd->CurrentStyle() == MainFrame::eSplit)
   {
          // cannot do this in a split window
          // do something else that the user may want here