mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-29 13:14:48 -04:00
Merge branch 'merge-mangowc-STUDY' into merge-mango
This commit is contained in:
commit
5d2f052886
37 changed files with 4571 additions and 911 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) {
|
||||
|
|
@ -102,7 +102,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