public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Clipboard error - trace owner?
@ 2014-10-31 16:20 Nem W Schlecht
  2014-11-03 11:28 ` Jon TURNEY
  0 siblings, 1 reply; 2+ messages in thread
From: Nem W Schlecht @ 2014-10-31 16:20 UTC (permalink / raw)
  To: cygwin-xfree

After a *very* long time of the clipboard working perfectly, it just
started to stop working on me:

[252960.192] winClipboardFlushXEvents - OpenClipboard () failed:
00000005 Owner 0002089e
[252960.192] winClipboardFlushXEvents - OpenClipboard () failed:
00000005 Owner 0002089e
[253010.517] winWindowProc - WM_DISPLAYCHANGE - new width: 1600 new
height: 1200 new bpp: 32
[253380.957] winClipboardFlushXEvents - OpenClipboard () failed:
00000005 Owner 0002089e
[253445.199] winClipboardFlushXEvents - OpenClipboard () failed:
00000005 Owner 0002089e

How do I trace the owner HEX code to the program that is causing the
issue? (Or is the owner X11 here?)

-- 
Nem W Schlecht

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Clipboard error - trace owner?
  2014-10-31 16:20 Clipboard error - trace owner? Nem W Schlecht
@ 2014-11-03 11:28 ` Jon TURNEY
  0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2014-11-03 11:28 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: nem

On 31/10/2014 16:20, Nem W Schlecht wrote:
> After a *very* long time of the clipboard working perfectly, it just
> started to stop working on me:
>
> [252960.192] winClipboardFlushXEvents - OpenClipboard () failed:
> 00000005 Owner 0002089e
> [252960.192] winClipboardFlushXEvents - OpenClipboard () failed:
> 00000005 Owner 0002089e
> [253010.517] winWindowProc - WM_DISPLAYCHANGE - new width: 1600 new
> height: 1200 new bpp: 32
> [253380.957] winClipboardFlushXEvents - OpenClipboard () failed:
> 00000005 Owner 0002089e
> [253445.199] winClipboardFlushXEvents - OpenClipboard () failed:
> 00000005 Owner 0002089e
>
> How do I trace the owner HEX code to the program that is causing the
> issue? (Or is the owner X11 here?)

This is a window handle (HWND).  You could find out the corresponding 
window using a tool such as Spy++.

I will improve this so that the window title is reported here as well, 
which would be much better, but that is not quite straightforward.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-03 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-31 16:20 Clipboard error - trace owner? Nem W Schlecht
2014-11-03 11:28 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).