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 | Merge pull request #1288 from johalun/master-securityconf-freebsd (diff) | |
download | sway-14eeeed7e0db3a427fc75318c9a56e12bbc4746c.tar.gz sway-14eeeed7e0db3a427fc75318c9a56e12bbc4746c.tar.zst sway-14eeeed7e0db3a427fc75318c9a56e12bbc4746c.zip |
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 | |||
1083 | return EVENT_PASSTHROUGH; | 1083 | return EVENT_PASSTHROUGH; |
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | static void clip_test_cb(void *data, const char *type, int fd) { | ||
1087 | const char *str = data; | ||
1088 | write(fd, str, strlen(str)); | ||
1089 | close(fd); | ||
1090 | } | ||
1091 | |||
1092 | static void handle_wlc_ready(void) { | 1086 | static void handle_wlc_ready(void) { |
1093 | sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); | 1087 | sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); |
1094 | const char *type = "text/plain;charset=utf-8"; | ||
1095 | wlc_set_selection("test", &type, 1, &clip_test_cb); | ||
1096 | // Execute commands until there are none left | 1088 | // Execute commands until there are none left |
1097 | config->active = true; | 1089 | config->active = true; |
1098 | while (config->cmd_queue->length) { | 1090 | while (config->cmd_queue->length) { |