Skip to content

Commit 3ce4850

Browse files
committed
Fix drag-and-drop sources and support text
1 parent 6856861 commit 3ce4850

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/source-defaults-filter.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,8 @@ static void source_created_cb(void *data, calldata_t *cd)
481481

482482
// Except media sources because drag-and-drop already
483483
// sets properties before the signal is propagated
484-
if (strcmp(dst_id, "ffmpeg_source") != 0 || strcmp(dst_id, "image_source") != 0) {
484+
if (strcmp(dst_id, "ffmpeg_source") != 0 && strcmp(dst_id, "image_source") != 0 &&
485+
strcmp(dst_id, "text_gdiplus") != 0 && strcmp(dst_id, "text_ft2_source") != 0) {
485486
already_encountered = strcmp(dst_properties_json, "{}") != 0;
486487
}
487488
// If the new source has non-default settings (not "{}")

0 commit comments

Comments
 (0)