mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v3 linux] disable noisy onKeyPressEvent handler
This commit is contained in:
parent
1b850662ed
commit
144567410d
1 changed files with 2 additions and 2 deletions
|
|
@ -1010,8 +1010,8 @@ func onDragNDrop(target unsafe.Pointer, context *C.GdkDragContext, x C.gint, y C
|
|||
|
||||
//export onKeyPressEvent
|
||||
func onKeyPressEvent(widget *C.GtkWidget, event *C.GdkEventKey, userData unsafe.Pointer) C.gboolean {
|
||||
windowId := uint(*((*C.uint)(userData)))
|
||||
fmt.Println("onKeyPressEvent", windowId)
|
||||
// windowId := uint(*((*C.uint)(userData)))
|
||||
// fmt.Println("onKeyPressEvent", windowId)
|
||||
/*
|
||||
windowKeyEvents <- &windowKeyEvent{
|
||||
windowId: windowID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue