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://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=0037763448bd96804a6934d38173ebbed9913cf0 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