The last patch I sent didn't have a full enough path to dlls/x11drv/clipboard.c
On Wed, 2005-03-16 at 14:15 -0700, Ron Jensen wrote: > Stefan, > > You are smarter than me! I completely missed this function. I believe > the error is because *visual is "0". I replaced visual with > "CopyFromParent" and it seems to work now. > > > On Wed, 2005-03-16 at 20:11 +0100, Stefan Dösinger wrote: > > Am Mittwoch, 16. März 2005 15:40 schrieben Sie: > > > It seems to work fine for me. If you guys could generate trace logs for me > > > with +relay,+clipboard,+event,+tid,+seh I'll take a look. > > > > > > > Nothing really interesting there. I attached the last few lines at the end > > of > > this mail. I can send you the whole log if neccessary. > > > > I localized the failing call with the backtrace. It's in > > dlls/x11drv/clipboard.c, function thread_selection_wnd(). It's in line 331: > > w = XCreateWindow(thread_display(), root_window, 0, 0, 1, 1, 0, > > screen_depth, > > InputOutput, visual, 0, NULL); > > > > The X error is: > > X Error of failed request: BadMatch (invalid parameter attributes) > > Major opcode of failed request: 1 (X_CreateWindow) > > Serial number of failed request: 271 > > Current serial number in output stream: 272 > > > > Stefan > > >
Index: dlls/x11drv/clipboard.c =================================================================== RCS file: /home/wine/wine/dlls/x11drv/clipboard.c,v retrieving revision 1.37 diff -u -u -r1.37 clipboard.c --- dlls/x11drv/clipboard.c 14 Mar 2005 10:03:39 -0000 1.37 +++ dlls/x11drv/clipboard.c 16 Mar 2005 23:18:05 -0000 @@ -329,7 +329,7 @@ { wine_tsx11_lock(); w = XCreateWindow(thread_display(), root_window, 0, 0, 1, 1, 0, screen_depth, - InputOutput, visual, 0, NULL); + InputOutput, NULL, 0, NULL); wine_tsx11_unlock(); if (w)