Skip to content

Commit 52a790c

Browse files
committed
Remove test clipboard code
1 parent f229dfc commit 52a790c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sway/handlers.c

-8
Original file line numberDiff line numberDiff line change
@@ -1083,16 +1083,8 @@ bool handle_pointer_scroll(wlc_handle view, uint32_t time, const struct wlc_modi
10831083
return EVENT_PASSTHROUGH;
10841084
}
10851085

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-
10921086
static void handle_wlc_ready(void) {
10931087
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);
10961088
// Execute commands until there are none left
10971089
config->active = true;
10981090
while (config->cmd_queue->length) {

0 commit comments

Comments
 (0)