Debug printf in linux paste
This commit is contained in:
parent
ede9083e71
commit
91db73cdff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue