Changeset 4205 in josm for trunk


Ignore:
Timestamp:
2011-07-06T19:35:48+02:00 (13 years ago)
Author:
stoecker
Message:

do proper test instead of simple true

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java

    r4204 r4205  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
     6import java.awt.GraphicsEnvironment;
    67import java.awt.event.KeyEvent;
    78import java.io.File;
     
    6566    public boolean canFullscreen()
    6667    {
    67         return true;
     68        return GraphicsEnvironment.getLocalGraphicsEnvironment()
     69        .getDefaultScreenDevice().isFullScreenSupported();
    6870    }
    6971
Note: See TracChangeset for help on using the changeset viewer.