diff options
| -rw-r--r-- | emu/port/win-x11a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emu/port/win-x11a.c b/emu/port/win-x11a.c index 569287b6..bbc65761 100644 --- a/emu/port/win-x11a.c +++ b/emu/port/win-x11a.c @@ -1613,11 +1613,11 @@ if(0) iprint("xselect target=%d requestor=%d property=%d selection=%d\n", 8, PropModeReplace, (uchar*)clip.buf, strlen(clip.buf)); qunlock(&clip.lk); }else{ - iprint("get %d\n", xe->target); name = XGetAtomName(xd, xe->target); if(name == nil) - iprint("XGetAtomName failed\n"); - else if(strcmp(name, "TIMESTAMP") != 0) + name = "<XGetAtomName failed>"; + if(strcmp(name, "TIMESTAMP") != 0 + && strcmp(name, "x-special/gnome-copied-files") != 0) iprint("%s: cannot handle selection request for '%s' (%d)\n", argv0, name, (int)xe->target); r.xselection.property = None; } |
