Module: wine
Branch: master
Commit: da03fc5574488780f766b85e771bbcb9bafd3f20
URL: http://source.winehq.org/git/wine.git/?a=commit;h=da03fc5574488780f766b85e7…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Tue Mar 11 11:33:12 2008 +0900
wineboot: Add Japanese resources.
---
programs/wineboot/wineboot.rc | 1 +
programs/wineboot/wineboot_Ja.rc | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/programs/wineboot/wineboot.rc b/programs/wineboot/wineboot.rc
index 377618b..21cf724 100644
--- a/programs/wineboot/wineboot.rc
+++ b/programs/wineboot/wineboot.rc
@@ -30,6 +30,7 @@
#include "wineboot_En.rc"
#include "wineboot_Es.rc"
#include "wineboot_Fr.rc"
+#include "wineboot_Ja.rc"
#include "wineboot_Ko.rc"
#include "wineboot_Nl.rc"
#include "wineboot_No.rc"
diff --git a/programs/wineboot/wineboot_Ja.rc b/programs/wineboot/wineboot_Ja.rc
new file mode 100644
index 0000000..f83ef46
--- /dev/null
+++ b/programs/wineboot/wineboot_Ja.rc
@@ -0,0 +1,35 @@
+/*
+ * WineBoot resources
+ *
+ * Copyright (C) 2008 CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
+
+IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 276, 71
+STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "�ҋ@��"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ DEFPUSHBUTTON "�L�����Z��",IDCANCEL,129,49,50,15
+ PUSHBUTTON "�v���Z�X�̏I��",IDOK,51,49,71,15
+ LTEXT "���O�I�t����сA�ċN���̃v���Z�X���V�~�����[�g���Ă��܂����A�v���O�����͔������Ă��܂���B",
+ IDC_STATIC,7,7,262,19
+ LTEXT "�v���Z�X���I��������ƁA�ۑ����Ă��Ȃ��f�[�^�͑S�Ď����܂��B",
+ IDC_STATIC,7,28,262,15
+END
Module: wine
Branch: master
Commit: c5117dab68a75f6687c473424e66189f390b7591
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5117dab68a75f6687c473424…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Mon Mar 10 22:24:13 2008 +0100
wined3d: Set the fullscreen flag before the display Mode.
---
dlls/wined3d/device.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index b4d508e..158791f 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -7096,18 +7096,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Reset(IWineD3DDevice* iface, WINED3DPRE
(swapchain->presentParms.Windowed && !pPresentationParameters->Windowed) ||
DisplayModeChanged) {
- /* Switching to fullscreen? Change to fullscreen mode, THEN change the screen res */
- if(!pPresentationParameters->Windowed) {
- IWineD3DDevice_SetFullscreen(iface, TRUE);
- }
-
- IWineD3DDevice_SetDisplayMode(iface, 0, &mode);
-
- /* Switching out of fullscreen mode? First set the original res, then change the window */
- if(pPresentationParameters->Windowed) {
- IWineD3DDevice_SetFullscreen(iface, FALSE);
- }
+ IWineD3DDevice_SetFullscreen(iface, !pPresentationParameters->Windowed);
swapchain->presentParms.Windowed = pPresentationParameters->Windowed;
+ IWineD3DDevice_SetDisplayMode(iface, 0, &mode);
} else if(!pPresentationParameters->Windowed) {
DWORD style = This->style, exStyle = This->exStyle;
/* If we're in fullscreen, and the mode wasn't changed, we have to get the window back into
Module: wine
Branch: master
Commit: a9fb81b2edceadc58eb84ed9e920d19719a05330
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9fb81b2edceadc58eb84ed9e…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Mon Mar 10 22:15:22 2008 +0100
wined3d: Only adjust windows in fullscreen mode to the screen.
---
dlls/wined3d/device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 3f2d57e..32f6c64 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -2337,8 +2337,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetDisplayMode(IWineD3DDevice *iface, U
This->ddraw_height = pMode->Height;
This->ddraw_format = pMode->Format;
- /* Only do this with a window of course */
- if(This->ddraw_window)
+ /* Only do this with a window of course, and only if we're fullscreened */
+ if(This->ddraw_window && This->ddraw_fullscreen)
MoveWindow(This->ddraw_window, 0, 0, pMode->Width, pMode->Height, TRUE);
/* And finally clip mouse to our screen */