mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-01 07:16:11 -04:00
opt: tell the synckeymap timer not need to call anymore
This commit is contained in:
parent
783cb86c56
commit
b5a157038c
1 changed files with 2 additions and 1 deletions
|
|
@ -6058,8 +6058,9 @@ void virtualpointer(struct wl_listener *listener, void *data) {
|
||||||
int32_t synckeymap(void *data) {
|
int32_t synckeymap(void *data) {
|
||||||
reset_keyboard_layout();
|
reset_keyboard_layout();
|
||||||
// we only need to sync keymap once
|
// we only need to sync keymap once
|
||||||
|
wlr_log(WLR_INFO, "timer to synckeymap done");
|
||||||
wl_event_source_timer_update(sync_keymap, 0);
|
wl_event_source_timer_update(sync_keymap, 0);
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void activatex11(struct wl_listener *listener, void *data) {
|
void activatex11(struct wl_listener *listener, void *data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue