mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Update windowSetupSignalHandlers & linux events
This commit is contained in:
committed by
Travis McLane
parent
4467a1ffa2
commit
bfa53dfd6c
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user