mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-29 13:14:48 -04:00
Translate all Chinese comments to English in source files
- Translate comments in src/client/client.h - Translate comments in src/config/parse_config.h - Translate comments in src/data/static_keymap.h - Translate comments in src/dispatch/bind_define.h - Translate comments in src/ext-protocol/*.h - Translate comments in src/fetch/*.h - Translate comments in src/layout/*.h - Translate comments in src/mango.c All Chinese comments have been accurately translated to English while preserving the technical meaning and context. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
288710ad9e
commit
2c181fcb21
16 changed files with 396 additions and 396 deletions
|
|
@ -52,7 +52,7 @@ struct wlr_input_method_manager_v2 *input_method_manager;
|
|||
struct wlr_text_input_manager_v3 *text_input_manager;
|
||||
struct dwl_input_method_relay *dwl_input_method_relay;
|
||||
|
||||
/*-------------------封装给外部调用-------------------------------*/
|
||||
/*------------------- Wrapped for external calls -------------------------------*/
|
||||
bool dwl_im_keyboard_grab_forward_key(KeyboardGroup *keyboard,
|
||||
struct wlr_keyboard_key_event *event);
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ void dwl_im_relay_set_focus(struct dwl_input_method_relay *relay,
|
|||
struct wlr_surface *surface);
|
||||
/*----------------------------------------------------------*/
|
||||
|
||||
/*------------------协议内部代码------------------------------*/
|
||||
/*------------------ Protocol internal code ------------------------------*/
|
||||
Monitor *output_from_wlr_output(struct wlr_output *wlr_output) {
|
||||
Monitor *m = NULL;
|
||||
wl_list_for_each(m, &mons, link) {
|
||||
|
|
@ -111,7 +111,7 @@ get_keyboard_grab(KeyboardGroup *keyboard) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// kb_group是一个物理键盘组,它不应该被过滤掉
|
||||
// kb_group is a physical keyboard group, it should not be filtered out
|
||||
if (keyboard != kb_group)
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue