From 0d4bbaf3736cbf62cd4a867cca56c792a8b74cea Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 7 Jul 2016 00:47:00 +0300 Subject: [PATCH] Changed: Allow windowed mode to span over multiple desktops --- .../src/interface_v3/action_handler_game.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/action_handler_game.cpp b/code/ryzom/client/src/interface_v3/action_handler_game.cpp index 0204a57b0..59cd79b11 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_game.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_game.cpp @@ -3450,20 +3450,8 @@ class CHandlerGameConfigApply : public IActionHandler { uint32 width, height; Driver->getWindowSize(width, height); - - // window is too large - if (width >= screenMode.Width || height >= screenMode.Height) - { - // choose a smaller size - w = 1024; - h = 768; - } - else - { - // take previous mode - w = width; - h = height; - } + w = width; + h = height; } ClientCfg.Width = w;