LWJGL Forum

Programming => OpenGL => Topic started by: ItsHarry on July 03, 2013, 15:27:19

Title: Borderless window
Post by: ItsHarry on July 03, 2013, 15:27:19
Hello

Since Minecraft doesn't have dual monitor support, I decided to try and pass the following argument to it:
-Dorg.lwjgl.opengl.Window.undecorated=true

I know Minecraft uses LWJGL and I've worked with LWJGL in the past

For some reason, I still see a little border around Minecraft, while it's supposed to be borderless.
Here's a picture showing what I mean:
(http://gyazo.com/d2310bb8b21064c22b4e1b68ff19cd7f.png)

I dug into Minecraft's source code and I don't see any reason why this wouldn't work.

Any ideas how I can get this to be borderless?

Thanks
Title: Re: Borderless window
Post by: ItsHarry on July 03, 2013, 16:05:17
Nevermind, I got it.

I edited the source code to include setResizable(false)