Skip to content

Commit

Permalink
Revert "uidriver/glfw: Bug fix: Do not iconify the fullscreen window …
Browse files Browse the repository at this point in the history
…automatically"

This reverts commit 61bf10e.

Reason: This prevents the app from iconifying when toggling apps.

Updates hajimehoshi#1405
Closes hajimehoshi#1504
  • Loading branch information
hajimehoshi committed Feb 23, 2021
1 parent a829f8d commit a8dff58
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion internal/glfw/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const (
)

const (
AutoIconify = Hint(0x00020006)
ClientAPI = Hint(0x00022001)
ContextVersionMajor = Hint(0x00022002)
ContextVersionMinor = Hint(0x00022003)
Expand Down
1 change: 0 additions & 1 deletion internal/uidriver/glfw/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ func (u *UserInterface) run() error {
} else {
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
}
glfw.WindowHint(glfw.AutoIconify, glfw.False)

decorated := glfw.False
if u.isInitWindowDecorated() {
Expand Down

0 comments on commit a8dff58

Please sign in to comment.