harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r591398 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGraphicsDevice.java
Date Fri, 02 Nov 2007 16:54:17 GMT
Author: ayza
Date: Fri Nov  2 09:54:11 2007
New Revision: 591398

URL: http://svn.apache.org/viewvc?rev=591398&view=rev
Log:
The patch from HARMONY-5043 ([classlib][awt] Graphics2D.getDeviceConfiguration() throws RuntimeException)
was applied.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGraphicsDevice.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGraphicsDevice.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGraphicsDevice.java?rev=591398&r1=591397&r2=591398&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGraphicsDevice.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGraphicsDevice.java
Fri Nov  2 09:54:11 2007
@@ -70,7 +70,7 @@
         type = TYPE_RASTER_SCREEN;
 
         long hmon = win32.MonitorFromWindow(hwnd, WindowsDefs.MONITOR_DEFAULTTOPRIMARY);
-        Win32.MONITORINFOEXW mi = win32.createMONITORINFOEXW(false);
+        Win32.MONITORINFOEXW mi = win32.createMONITORINFOEXW(true);
         mi.get_MONITORINFO().set_cbSize(mi.size());
         if (win32.GetMonitorInfoW(hmon, mi.shortLockPointer()) == 0) {
             // awt.15=Can not get monitor info



Mime
View raw message