diff options
| author | Stacy Harper <contact@stacyharper.net> | 2021-08-25 22:39:27 +0200 |
|---|---|---|
| committer | John Sullivan <jsullivan@csumb.edu> | 2021-10-19 23:12:01 -0700 |
| commit | dfa0e5d5a62b5eabc01fbd149dd9aba5a2a6d665 (patch) | |
| tree | 96152608e8e1b42609011a51b71aedecc7494b31 /keyboard.h | |
| parent | 8bd76edc16402565bcdb5da865a731985347a343 (diff) | |
| download | suggpicker-dfa0e5d5a62b5eabc01fbd149dd9aba5a2a6d665.tar.gz | |
Better damage tracking
Diffstat (limited to 'keyboard.h')
| -rw-r--r-- | keyboard.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/keyboard.h b/keyboard.h index a8e5c69..9f89597 100644 --- a/keyboard.h +++ b/keyboard.h @@ -247,8 +247,6 @@ void kbd_unpress_key(struct kbd *kb, uint32_t time) { if (kb->last_press) { kbd_draw_key(kb, kb->last_press, false); - kb->surf->dirty = true; - if (kb->last_press->type == Copy) { zwp_virtual_keyboard_v1_key(kb->vkbd, time, 127, // COMP key WL_KEYBOARD_KEY_STATE_RELEASED); @@ -277,7 +275,6 @@ kbd_press_key(struct kbd *kb, struct key *k, uint32_t time) { compose++; if (debug) fprintf(stderr, "showing compose %d\n", compose); kbd_switch_layout(kb, k->layout); - kb->surf->dirty = true; return; } @@ -353,8 +350,6 @@ kbd_press_key(struct kbd *kb, struct key *k, uint32_t time) { default: break; } - - kb->surf->dirty = true; } @@ -440,7 +435,6 @@ kbd_resize(struct kbd *kb, struct layout *layouts, uint8_t layoutcount) { kbd_init_layout(&layouts[i], kb->w, kb->h); } kbd_draw_layout(kb); - d->dirty = true; } void |
