ebiten/internal/uidriver/glfw
Hajime Hoshi fcd8a6c653 internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale
Before this fix, Win32API is used to get the current monitor. This
might not work and return an unexpected monitor on some machines after
the runloop starts.

Instead, use the current window to get the current monitor correctly
instead of the Win32APIs. To get the initial monitor, the API
ForegroundWindow is still used.

Updates #1584
Updates #1844
2021-10-09 18:18:22 +09:00
..
graphics_darwin.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
graphics_opengl.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
hideconsole_notwindows.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
hideconsole_windows.go Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
input.go internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:22 +09:00
keys.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
run_notsinglethread.go internal/uidriver/glfw: Bug fix: do not execute loop function if init failed (#1689) 2021-06-29 23:51:25 +09:00
run_singlethread.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
ui_darwin.go internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:22 +09:00
ui_unix.go internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:22 +09:00
ui_windows.go internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:22 +09:00
ui.go internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:22 +09:00
window.go internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:22 +09:00