mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
io/key: [API] replace key.InputOp with a filter
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -310,7 +310,7 @@ func (w *window) SetCursor(cursor pointer.Cursor) {
|
||||
w.cursor = windowSetCursor(w.cursor, cursor)
|
||||
}
|
||||
|
||||
func (w *window) onKeyCommand(name string) {
|
||||
func (w *window) onKeyCommand(name key.Name) {
|
||||
w.w.Event(key.Event{
|
||||
Name: name,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user