aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-09 06:49:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-18 08:24:00 +0000
commitc5529808c4f13c5bd30594055563b83e1db61dfd (patch)
tree8f780ef6a5460f91b75c1041a0322d422f343162 /input.c
parentchangelog: colors.flash-alpha=1.0 (diff)
term: cursor_refresh(): don't try to dirty the grid if we don't have one
If the compositor sends a keyboard enter event before our window has been mapped, foot crashes; the enter event triggers a cursor refresh (hollow -> non-hollow block cursor), which crashes since we haven't yet allocated a grid. Fix by no-op:ing the refresh if the window hasn't been configured yet. Closes #1910
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions