diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-10 18:49:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-10 18:49:48 +0000 |
| commit | 3957d50a8a19f2b0cdd844101092b4ffbc9f61b7 (patch) | |
| tree | 1594997cccea27df7ccc7636c913d9d8eefe5940 /selection.c | |
| parent | Revert "server: use edge-triggered FDM handler for the client connections" (diff) | |
Revert "selection: use edge-triggered FDM handlers"
This reverts commit 5bac3cfa2cb6a1e7b6eb0012c134bd2e844fcf61.
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/selection.c b/selection.c index 1dfa7dc6..2c7bc0b2 100644 --- a/selection.c +++ b/selection.c @@ -568,7 +568,7 @@ send(void *data, struct wl_data_source *wl_data_source, const char *mime_type, .idx = async_idx, }; - if (fdm_add(wayl->fdm, fd, EPOLLOUT | EPOLLET, &fdm_send, ctx)) + if (fdm_add(wayl->fdm, fd, EPOLLOUT, &fdm_send, ctx)) return; free(ctx->data); @@ -660,7 +660,7 @@ primary_send(void *data, .idx = async_idx, }; - if (fdm_add(wayl->fdm, fd, EPOLLOUT | EPOLLET, &fdm_send, ctx)) + if (fdm_add(wayl->fdm, fd, EPOLLOUT, &fdm_send, ctx)) return; free(ctx->data); @@ -828,7 +828,7 @@ begin_receive_clipboard(struct terminal *term, int read_fd, .user = user, }; - if (!fdm_add(term->fdm, read_fd, EPOLLIN | EPOLLET, &fdm_receive, ctx)) { + if (!fdm_add(term->fdm, read_fd, EPOLLIN, &fdm_receive, ctx)) { close(read_fd); free(ctx); done(user); |
