From 8f1da052a2a3c0b2c4663a6f0e236e952e75b38b 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 --HG-- branch : develop --- .../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;