[5491] in Athena Bugs

home help back first fref pref prev next nref lref last post

showbitmap

daemon@ATHENA.MIT.EDU (web@hplcr.hpl.hp.com)
Tue Jul 10 23:01:39 1990

To: bugs@ATHENA.MIT.EDU
Date: Tue, 10 Jul 90 20:01:20 PDT
From: web@hplcr.hpl.hp.com


in the source for showbitmap, a separate gc was not created for
new_pixmap so showbitmap sometimes crashes 

X Protocol error detected by server:  BadMatch, invalid parameter attributes
  Failed request major op code 63 (X_CopyArea)
  Failed request minor op code 0 (if applicable)
  ResourceID 0xe00004 in failed request (if applicable)
  Serial number of failed request 9
  Current serial number in output stream 10


add this to the line before the XCopyArea :
  gc = XCreateGC(display, new_pixmap, 0 , 0);


-Chee

home help back first fref pref prev next nref lref last post