diff options
Diffstat (limited to 'tools/gtk_clipboard_dump/gtk_clipboard_dump.cc')
-rw-r--r-- | tools/gtk_clipboard_dump/gtk_clipboard_dump.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gtk_clipboard_dump/gtk_clipboard_dump.cc b/tools/gtk_clipboard_dump/gtk_clipboard_dump.cc index 9d00ddb..e74cf8d 100644 --- a/tools/gtk_clipboard_dump/gtk_clipboard_dump.cc +++ b/tools/gtk_clipboard_dump/gtk_clipboard_dump.cc @@ -30,6 +30,12 @@ int main(int argc, char* argv[]) { } printf(" / length: %d / bits %d]: ", data->length, data->format); + + if (strstr(gdk_atom_name(targets[i]), "image")) { + printf("(image omitted)\n\n"); + continue; + } + for (int j = 0; j < data->length; j++) { // Output data one byte at a time. Currently wide strings look // pretty weird. |