app/internal/wm: rename confusing app/internal/window

Package wm (for "window manager") is a better fit for the package, and
distinguishes it from the low-level package windows for the Windows API.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-03-06 11:15:48 +01:00
parent 26d9e7fe5f
commit 7059b6284a
45 changed files with 63 additions and 63 deletions
+4 -4
View File
@@ -3,18 +3,18 @@
package app
import (
"gioui.org/app/internal/window"
"gioui.org/app/internal/wm"
)
type ViewEvent = window.ViewEvent
type ViewEvent = wm.ViewEvent
// JavaVM returns the global JNI JavaVM.
func JavaVM() uintptr {
return window.JavaVM()
return wm.JavaVM()
}
// AppContext returns the global Application context as a JNI
// jobject.
func AppContext() uintptr {
return window.AppContext()
return wm.AppContext()
}