Hi, Vadim.
Thanks for clarification, please add this information as a comment to
the code, before the push.
On 08.05.15 16:19, Vadim Pakhnushev wrote:
It's invisible and used only for getting application focus
notifications internally by Direct3D.
On 08.05.2015 16:14, Sergey Bylokhov wrote:
Hi, Vadim.
Why we do not use the full screen size for this window?
On 08.05.15 14:07, Vadim Pakhnushev wrote:
Hi,
Please review the fix for
https://bugs.openjdk.java.net/browse/JDK-8079652
Focus window's client area should be bigger otherwise CreateDevice
fails.
diff --git
a/src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp
b/src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp
---
a/src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp
+++
b/src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp
@@ -829,7 +829,7 @@
}
HWND hWnd = CreateWindow(L"D3DFocusWindow", L"D3DFocusWindow", 0,
- mi.rcMonitor.left, mi.rcMonitor.top, 1, 1,
+ mi.rcMonitor.left, mi.rcMonitor.top, 100, 100,
NULL, NULL, GetModuleHandle(NULL), NULL);
if (hWnd == 0) {
J2dRlsTraceLn(J2D_TRACE_ERROR,
--
Best regards, Sergey.