forked from external/yambar
bar/wayland: spell 'disconnected' correctly
This commit is contained in:
parent
450caba415
commit
e980a74a10
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ loop(struct bar *_bar,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fds[1].revents & POLLHUP) {
|
if (fds[1].revents & POLLHUP) {
|
||||||
LOG_WARN("disconnceted from wayland");
|
LOG_WARN("disconnected from wayland");
|
||||||
if (write(_bar->abort_fd, &(uint64_t){1}, sizeof(uint64_t))
|
if (write(_bar->abort_fd, &(uint64_t){1}, sizeof(uint64_t))
|
||||||
!= sizeof(uint64_t))
|
!= sizeof(uint64_t))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue