diff --git a/platform_linux/linux_4ed.cpp b/platform_linux/linux_4ed.cpp index e67c8789..9165a57a 100644 --- a/platform_linux/linux_4ed.cpp +++ b/platform_linux/linux_4ed.cpp @@ -1604,6 +1604,7 @@ LinuxHandleX11Events(void) int result = XGetWindowProperty(linuxvars.XDisplay, linuxvars.XWindow, linuxvars.atom_CLIPBOARD, 0L, LINUX_MAX_PASTE_CHARS/4L, False, linuxvars.atom_UTF8_STRING, &type, &fmt, &nitems, &bytes_left, &data); if (result == Success && fmt == 8){ + fprintf(stdout, "nitems = %lu\n", nitems); LinuxStringDup(&linuxvars.clipboard_contents, data, nitems); should_step = true; linuxvars.new_clipboard = true;