summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/handlers.c8
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
1086static 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
1092static void handle_wlc_ready(void) { 1086static 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) {