Adam f7606c7aca ui: fix frame maximized bounds with dpi scaling
Due to JDK-4737788, maximizing an undecorated frame incorrectly covers the
taskbar. Substance attempts to correct this by computing its own maximized
bounds, but it does not account for DPI scaling. Since Substance automatically
calls setMaximizedBounds when the frame is resized to do this we simply
override it and replace the bounds with our own which includes the scaling of
the display.

This also fixes the frame maximizing to the incorrect display on 11.0.8 due to
JDK-8231564, which changes the coordinates setMaximizedBounds() expects to be
relative to the primary display instead of the current display. Previously,
Substance was always setting the bounds x/y to 0 due to this.

Co-authored-by: Runemoro <runemoro1@gmail.com>
2020-09-18 22:28:43 -04:00
2017-07-19 20:55:57 -04:00
2020-09-02 11:36:42 +00:00
2020-09-02 11:36:42 +00:00
2020-09-02 11:36:42 +00:00
2020-09-02 11:36:42 +00:00
2020-09-02 11:36:42 +00:00
2020-01-05 17:31:14 +00:00
2017-06-29 17:27:28 -04:00
2020-09-02 11:36:42 +00:00
2019-07-07 18:30:36 -04:00

runelite Travis Discord

RuneLite is a free, open source OldSchool RuneScape client.

If you have any questions, please join our IRC channel on irc.rizon.net #runelite or alternatively our Discord server.

Project Layout

  • cache - Libraries used for reading/writing cache files, as well as the data in it
  • http-api - API for api.runelite.net
  • http-service - Service for api.runelite.net
  • runelite-api - RuneLite API, interfaces for accessing the client
  • runelite-client - Game client with plugins

Usage

Open the project in your IDE as a Maven project, build the root module and then run the RuneLite class in runelite-client.
For more information visit the RuneLite Wiki.

License

RuneLite is licensed under the BSD 2-clause license. See the license header in the respective file to be sure.

Contribute and Develop

We've set up a separate document for our contribution guidelines.

Description
No description provided
Readme BSD-2-Clause 107 MiB
Languages
Java 98.9%
GLSL 0.7%
C 0.3%