Skip to content

Commit

Permalink
Moved lwjgl undecorated flag to Overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Jire committed Feb 4, 2017
1 parent 80c7c45 commit 5ccbf27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/com/charlatano/Charlatano.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ import java.util.*
const val SETTINGS_DIRECTORY = "settings"

fun main(args: Array<String>) {
System.setProperty("org.lwjgl.opengl.Window.undecorated", "true")

loadSettings()

CSGO.initalize()
Expand Down
4 changes: 4 additions & 0 deletions src/main/kotlin/com/charlatano/overlay/Overlay.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@ object Overlay {
WindowTools.transparentWindow(hwnd!!)
}

init {
System.setProperty("org.lwjgl.opengl.Window.undecorated", "true")
}

}

0 comments on commit 5ccbf27

Please sign in to comment.