diff options
| author | faiface <faiface@ksp.sk> | 2017-08-19 23:44:30 +0200 |
|---|---|---|
| committer | faiface <faiface@ksp.sk> | 2017-08-19 23:44:30 +0200 |
| commit | bc59c901a81aab2d24d8da3eacfe55a8669f86c6 (patch) | |
| tree | bf3abd0837c0bfec1d58a22e6b6baf540e8d7013 /win | |
| parent | cffa8d4050c0f3024fbeb6c0001dabce850be3eb (diff) | |
| download | gui-bc59c901a81aab2d24d8da3eacfe55a8669f86c6.zip | |
win: pass full rectangle through resize event
Diffstat (limited to 'win')
| -rw-r--r-- | win/events.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/events.go b/win/events.go index c034185..47ed02c 100644 --- a/win/events.go +++ b/win/events.go @@ -28,7 +28,7 @@ func (w *Win) setUpMainthreadEvents() { w.w.SetSizeCallback(func(_ *glfw.Window, width, height int) { w.resize(width, height) - w.mainthreadEvent("resize", width, height) + w.mainthreadEvent("resize", 0, 0, width, height) }) w.w.SetCloseCallback(func(_ *glfw.Window) { |