From: divverent Date: Wed, 30 Dec 2009 10:26:41 +0000 (+0000) Subject: fix Ctrl-Tab handling in the Floating window style (floating has a XYZ window, so... X-Git-Tag: svn-r421~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0037763448bd96804a6934d38173ebbed9913cf0;p=xonotic%2Fnetradiant.git fix Ctrl-Tab handling in the Floating window style (floating has a XYZ window, so Ctrl-Tab SHOULD switch views) git-svn-id: svn://svn.icculus.org/netradiant/trunk@404 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/radiant/xywindow.cpp b/radiant/xywindow.cpp index 78206940..cfe419be 100644 --- a/radiant/xywindow.cpp +++ b/radiant/xywindow.cpp @@ -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