Update windowSetupSignalHandlers & linux events

This commit is contained in:
Lea Anthony
2024-03-06 11:42:19 -06:00
committed by Travis McLane
parent 4467a1ffa2
commit bfa53dfd6c
12 changed files with 626 additions and 506 deletions
+9
View File
@@ -2,6 +2,7 @@
package application
import "C"
import (
"fmt"
"log"
@@ -213,3 +214,11 @@ func (a *App) logPlatformInfo() {
a.info("Platform Info:", platformInfo...)
}
//export processWindowEvent
func processWindowEvent(windowID C.uint, eventID C.uint) {
windowEvents <- &windowEvent{
WindowID: uint(windowID),
EventID: uint(eventID),
}
}