diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-30 15:22:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-30 15:22:57 +0000 |
| commit | fc2e385d876f53b260d1f8d80db2517b9f2e6e80 (patch) | |
| tree | 13f3f1c2f03f9e1f7da97a900a02f2aba0565b66 /input.c | |
| parent | term: start slave before loading fonts and starting rendering threads (diff) | |
term: don't enable ptmx FDM callback until Wayland window has been configured
The way things works right now, we cannot enable the ptmx FDM callback
right away. We need to wait for the Wayland window to have been
configured.
Before the window is configured, we don't have a size, and no
grid. Thus, if we try to process ptmx data we'll crash since we have
no where to write it to.
So, registering the ptmx fd with the FDM is now delayed until we've
received the first 'configure' event from Wayland.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
