mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically
Fixes #1405
This commit is contained in:
parent
4c7eaeaf02
commit
6a24d6b2c6
@ -75,6 +75,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
AutoIconify = Hint(0x00020006)
|
||||||
ClientAPI = Hint(0x00022001)
|
ClientAPI = Hint(0x00022001)
|
||||||
ContextVersionMajor = Hint(0x00022002)
|
ContextVersionMajor = Hint(0x00022002)
|
||||||
ContextVersionMinor = Hint(0x00022003)
|
ContextVersionMinor = Hint(0x00022003)
|
||||||
|
@ -672,6 +672,7 @@ func (u *UserInterface) run() error {
|
|||||||
} else {
|
} else {
|
||||||
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
|
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
|
||||||
}
|
}
|
||||||
|
glfw.WindowHint(glfw.AutoIconify, glfw.False)
|
||||||
|
|
||||||
decorated := glfw.False
|
decorated := glfw.False
|
||||||
if u.isInitWindowDecorated() {
|
if u.isInitWindowDecorated() {
|
||||||
|
Loading…
Reference in New Issue
Block a user