コード例 #1
0
ファイル: xutil.go プロジェクト: Nightgunner5/xgbutil
// KeyMapSet updates XUtil.keymap.
// This is exported for use in the keybind package. You probably shouldn't
// use this. (You may need to use this if you're rolling your own event loop,
// and still want to use the keybind package.)
func KeyMapSet(xu *xgbutil.XUtil, keyMapReply *xproto.GetKeyboardMappingReply) {
	xu.Keymap = &xgbutil.KeyboardMapping{keyMapReply}
}