Groups | Search | Server Info | Login | Register
Groups > comp.unix.programmer > #14499
| From | Spiros Bousbouras <spibou@gmail.com> |
|---|---|
| Newsgroups | comp.unix.programmer, comp.windows.x |
| Subject | Re: XQueryColor() failing on dual monitor system |
| Date | 2023-10-29 13:28 +0000 |
| Organization | To protect and to server |
| Message-ID | <eu1KFD4Rzn00iqb7p@bongo-ra.co> (permalink) |
| References | <uhfv8f$26mne$1@dont-email.me> |
Cross-posted to 2 groups.
On Fri, 27 Oct 2023 09:18:08 -0000 (UTC) Muttley@dastardlyhq.com wrote: > Hi > > I'm hoping to write some code to save the contents of a window clicked on by > the mouse to a file and my plan was to get its image, save the pixels then > reload them into an image created by XCreateImage. However on one of the 3 > systems I'm using the XQueryColor() call fails in the following code (but never > fails on the other 2). The only difference is the one it crashes on is a dual > monitor system: [...] > Is there some obvious mistake I'm making? The standard advice in such cases is to post full compilable code which reproduces the problem and take it from there. If you are making an obvious mistake , the effort to create such code may reveal the mistake.
Back to comp.unix.programmer | Previous | Next — Previous in thread | Find similar
XQueryColor() failing on dual monitor system Muttley@dastardlyhq.com - 2023-10-27 09:18 +0000
Re: XQueryColor() failing on dual monitor system Marco Moock <mm+usenet-es@dorfdsl.de> - 2023-10-27 11:59 +0200
Re: XQueryColor() failing on dual monitor system Muttley@dastardlyhq.com - 2023-10-27 14:51 +0000
Re: XQueryColor() failing on dual monitor system scott@slp53.sl.home (Scott Lurndal) - 2023-10-27 15:57 +0000
Re: XQueryColor() failing on dual monitor system Muttley@dastardlyhq.com - 2023-10-27 16:07 +0000
Re: XQueryColor() failing on dual monitor system scott@slp53.sl.home (Scott Lurndal) - 2023-10-27 13:52 +0000
Re: XQueryColor() failing on dual monitor system candycanearter07 <no@thanks.net> - 2023-10-28 19:17 -0500
Re: XQueryColor() failing on dual monitor system Spiros Bousbouras <spibou@gmail.com> - 2023-10-29 13:28 +0000
csiph-web