On 01.08.24 20:36, Enrico Weigelt, metux IT consult wrote:
... answering myself: > Is there something subtle in here that I've overseen ?
(something XGC's internal state maybe ?)
Xlib indeed has a write-back cache for GC attributes, which is written out by all functions that need (server side) GC. Thus, when mixing xlib and xcb, one needs to call XFlushGC() before using a (server side) GC that potentially had been changed (locally) via Xlib. --mtx -- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287