[Bug 4601] X Error of failed request: BadAtom (X_GetAtomName)

Wine Bugs wine-bugs at winehq.org
Sun Apr 9 15:47:35 CDT 2006


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





------- Additional Comments From dank at kegel.com  2006-09-04 15:47 -------
It looks like there were two bugs in x11drv/clipboard.c:
1) intern_atoms() had not been called after most of
firefox's formats were registered, so they didn't have X atoms.
2) wine was protecting itself against crashing due to BadAtom
errors on zero atoms when looking at the list of selection type atoms it *sent*,
but not when looking at the list of selection type atoms it *received*.

I'm attaching a somewhat tested patch that deals with both problems.

Another nice way to reproduce the problem is:
1) start firefox
2) select some html text and copy
3) start windows notepad
4) paste
Bammo, BadAtom error without this patch.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list