mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 12:35:41 +02:00
module/xkb: remove unused variable
This commit is contained in:
parent
c01806d6fa
commit
aa477eaa32
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ event_loop(struct module_run_context *ctx, xcb_connection_t *conn,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Use poll() since xcb_wait_for_events() doesn't return on signals */
|
/* Use poll() since xcb_wait_for_events() doesn't return on signals */
|
||||||
int pret = poll(pfds, sizeof(pfds) / sizeof(pfds[0]), -1);
|
poll(pfds, sizeof(pfds) / sizeof(pfds[0]), -1);
|
||||||
if (pfds[0].revents & POLLIN) {
|
if (pfds[0].revents & POLLIN) {
|
||||||
ret = true;
|
ret = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue