diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-07-26 19:11:57 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-07-26 19:11:57 -0400 |
commit | 14eeeed7e0db3a427fc75318c9a56e12bbc4746c (patch) | |
tree | b61ba3ef72be6aeca310587b15856ae404faa39e | |
parent | a218a0b422429f5428bf092dacc1c7f5f533c783 (diff) | |
download | sway-14eeeed7e0db3a427fc75318c9a56e12bbc4746c.tar.xz |
Remove test clipboard code
-rw-r--r-- | sway/handlers.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 5fae2f7a..fd174ac9 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -1083,16 +1083,8 @@ bool handle_pointer_scroll(wlc_handle view, uint32_t time, const struct wlc_modi return EVENT_PASSTHROUGH; } -static void clip_test_cb(void *data, const char *type, int fd) { - const char *str = data; - write(fd, str, strlen(str)); - close(fd); -} - static void handle_wlc_ready(void) { sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); - const char *type = "text/plain;charset=utf-8"; - wlc_set_selection("test", &type, 1, &clip_test_cb); // Execute commands until there are none left config->active = true; while (config->cmd_queue->length) { |