mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-09 08:21:27 -04:00
opt: tell the synckeymap timer not need to call anymore
This commit is contained in:
parent
121ff2daeb
commit
de867294dc
1 changed files with 2 additions and 1 deletions
|
|
@ -6013,8 +6013,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