[Bug 15122] Clipboard functions don't work in console applications

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 16 06:36:52 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=15122





--- Comment #18 from Dmitry Stogov <dmitry at zend.com>  2009-03-16 06:36:51 ---
The FAR uses its own clipboard witch has nothing common with wineconsole
window. For example SetClipboardData() is handled by X11DRV_SetClipboardData()
in context of FAR process (no winconsole). The problem that FAR doesn't use
message loop, it uses kernel32 API calls for console input
(PeekConcoleInput/ReadConsoleInput) and as result control is never reached
X11DRV_MsgWaitForMultipleObjectsEx() that handles X11 selection events and
implements clipboard operations.

My patch just adds calls to X11DRV_MsgWaitForMultipleObjectsEx() (through
GetInputState) to console input routines.

I'm not a wine/Windows/X11 hacker so I don't know if it's possible to fix the
bug in the other way.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list